X-Git-Url: https://git.llucax.com/personal/ion3-config.git/blobdiff_plain/95055893030d872a0836efab8981ab50b5f4cf20..f78989ef08affaa64a00d940cd3a41b0445312b0:/default/cfg_statusbar.lua?ds=sidebyside diff --git a/default/cfg_statusbar.lua b/default/cfg_statusbar.lua index 5d39b43..71ac899 100644 --- a/default/cfg_statusbar.lua +++ b/default/cfg_statusbar.lua @@ -94,6 +94,9 @@ mod_statusbar.launch_statusd{ -- MPD mpd = { + -- netcat path + netcat = 'nc', + -- 500 or less makes seconds increment relatively smoothly while playing update_interval = 1000, @@ -113,7 +116,11 @@ mod_statusbar.launch_statusd{ -- track metadata: %artist, %title, %num, %album, %year, %len -- current track position: %pos -- escape for the percent character: %% - template = "%title by %artist, track %num from %album, %year (%pos/%len) [%volume]", + template = "%title by %artist, track %num from %album, %year " .. + "(%pos/%len) [%volume]", + + -- output debug filename (false or nil for no debug output) + debug = false, }, -- Memory monitor @@ -126,15 +133,15 @@ mod_statusbar.launch_statusd{ -- Scripts exec = { psi = { - program = '~/.ion3/psi_status.sh', + program = '~/.ion3/psi_status_server.py 1', -- 1 segundo retry_delay = 1 * 1000, -- 1 segundo hint_regexp = { important = '^[0-9]', }, }, maildir = { - program = '~/.ion3/maildir_status_server.sh 10', - retry_delay = 10 * 1000, + program = '~/.ion3/maildir_status_server.py 10', -- 10 segundos + retry_delay = 10 * 1000, -- 10 segundos hint_regexp = { important = '([0-9]+)', },