ambevar-dotfiles/.conkyrc

39 lines
1.4 KiB
Plaintext
Raw Normal View History

2017-08-01 08:47:22 +02:00
-- -*- mode: lua; -*-
2017-08-01 08:47:22 +02:00
conky.config = {
2017-08-02 23:55:42 +02:00
out_to_x = false,
2017-08-01 08:47:22 +02:00
background = false,
cpu_avg_samples = 2,
net_avg_samples = 2,
no_buffers = true,
out_to_console = true,
out_to_stderr = false,
extra_newline = false,
update_interval = 1.0,
uppercase = false,
use_spacer = left,
};
-- Colors are in dzen2 format.
conky.text =
[[^fg(grey)${time %a %d %b %R} \
\
2017-08-01 08:47:22 +02:00
^fg(grey)CPU:^fg(DeepSkyBlue)$cpu% \
^fg(grey)RAM:^fg(DeepSkyBlue)$memperc% \
^fg(grey)↓^fg(DeepSkyBlue)${eval $${downspeedf ${gw_iface}}} \
^fg(grey)↑^fg(DeepSkyBlue)${eval $${upspeedf ${gw_iface}}} \
2017-08-02 23:55:42 +02:00
^fg(grey)♪^fg(DeepSkyBlue)${exec amixer get Master -M | grep -oE "[0-9]*%"} \
2017-08-16 00:14:48 +02:00
${if_existing .mu/}^fg(grey)✉^fg(DeepSkyBlue)${execi 30 mu find --nocolor --sortfield=d --maxnum=500 flag:unread AND NOT flag:trashed | wc -l} ${endif}\
2017-08-03 23:31:31 +02:00
${if_match $battery_percent != 0}^fg(grey)⚡^fg(DeepSkyBlue)${if_match ${battery_percent} <= 5}^fg(Red)${endif}${battery_short}:${battery_time} ${endif}\
2017-08-02 23:55:42 +02:00
^fg(grey)sda:^fg(DeepSkyBlue)${diskio sda} \
2017-08-01 08:47:22 +02:00
]]
2017-08-02 23:55:42 +02:00
-- TODO: Change symbol / color when mixer is mute.
2017-08-01 08:47:22 +02:00
-- TODO: Unread mail with native 'new_mails' does not seem to support totals.
2017-08-02 23:55:42 +02:00
-- TODO: Change color when e-mails are not 0.
-- TODO: Don't display hard-drive IO<1MB.
2017-08-01 08:47:22 +02:00
-- TODO: Track all hard-drives.
2017-08-02 23:55:42 +02:00
-- TODO: Add playing track (emacsclient)
2017-08-16 00:14:48 +02:00
-- TODO: Conditional display of network, sound.
2017-08-02 23:55:42 +02:00
-- Probably need $lua+$eval for most of the TODOs.