2 -- Ion statusbar module configuration file
13 -- First screen, bottom left corner
16 -- Set this to true if you want a full-width statusbar
18 -- Swallow systray windows
21 -- Template. Tokens %string are replaced with the value of the
22 -- corresponding meter. Currently supported meters are:
24 -- load load average (1min, 5min, 15min)
25 -- load_Nmin N minute load average (N=1, 5, 15)
26 -- mail_new mail count (mbox format file $MAIL)
27 -- mail_unread mail count
28 -- mail_total mail count
29 -- mail_*_new mail count (from an alternate mail folder, see below)
30 -- mail_*_unread mail count
31 -- mail_*_total mail count
33 -- Space preceded by % adds stretchable space for alignment of variable
34 -- meter value widths. > before meter name aligns right using this
35 -- stretchable space , < left, and | centers.
36 -- Meter values may be zero-padded to a width preceding the meter name.
37 -- These alignment and padding specifiers and the meter name may be
38 -- enclosed in braces {}.
40 -- %filler causes things on the marker's sides to be aligned left and
41 -- right, respectively, and %systray is a placeholder for system tray
44 template = "%mpd %filler [mails: %exec_maildir | im: %exec_psi] " ..
45 "[mem: %mem_hused/%mem_cached/%mem_total | " ..
46 "swap: %mem_sw_used/%mem_sw_total | load: %load] %date %systray",
47 --template="[ %date || load: %05load_1min || mail: %02mail_new/%02mail_total ] %filler%systray",
48 --template="[ %date || load:% %>load ] %filler %systray_dock",
52 -- Launch ion-statusd. This must be done after creating any statusbars
53 -- for necessary statusd modules to be parsed from the templates.
54 mod_statusbar.launch_statusd{
57 -- ISO-8601 date format with additional abbreviated day name
58 date_format = '%a %d, %H:%M',
59 -- Finnish etc. date format
60 --date_format = '%a %d.%m.%Y %H:%M',
61 -- Locale date format (usually shows seconds, which would require
62 -- updating rather often and can be distracting)
65 -- Additional date formats.
68 time = '%H:%M', -- %date_time
75 --update_interval=10*1000,
76 --important_threshold=1.5,
77 --critical_threshold=4.0,
82 -- To monitor more mbox files, add them to the files table. For
83 -- example, add mail_work_new and mail_junk_new to the template
84 -- above, and define them in the files table:
86 -- files = { work = "/path/to/work_email", junk = "/path/to/junk" }
88 -- Don't use the keyword 'spool' as it's reserved for mbox.
90 -- update_interval = 60*1000,
91 -- mbox = os.getenv("MAIL"),
100 -- 500 or less makes seconds increment relatively smoothly while playing
101 update_interval = 1000,
103 -- mpd server info (localhost:6600 are mpd defaults)
104 address = "localhost",
107 -- mpd password (if any)
110 -- seconds to consider the mpd in 'important' hint (0 never, -1 always)
111 important_time = 15, -- seconds
115 -- can use the following:
116 -- track metadata: %artist, %title, %num, %album, %year, %len
117 -- current track position: %pos
118 -- escape for the percent character: %%
119 template = "%title by %artist, track %num from %album, %year " ..
120 "(%pos/%len) [%volume]",
122 -- output debug filename (false or nil for no debug output)
128 used_alarm = 75, -- Limits percentaje
130 units = "m", -- "g" , "m" or "k"
136 program = '~/.ion3/psi_status_server.py 1', -- 1 segundo
137 retry_delay = 1 * 1000, -- 1 segundo
139 important = '^[0-9]',
143 program = '~/.ion3/maildir_status_server.py 10', -- 10 segundos
144 retry_delay = 10 * 1000, -- 10 segundos
146 important = '([0-9]+)',
152 -- vim: set et sw=4 sts=4 :