conky: Disable mail notification
parent
3e9a141de9
commit
db1486328c
5
.conkyrc
5
.conkyrc
|
@ -24,7 +24,6 @@ conky.text =
|
|||
^fg(grey)↓^fg(DeepSkyBlue)${eval $${downspeedf ${gw_iface}}} \
|
||||
^fg(grey)↑^fg(DeepSkyBlue)${upspeedf wlp2s0} \
|
||||
${if_match "${exec pactl list sinks | awk '/^\tMute:/ {print $2;exit}'}" == "no"}^fg(grey)♪^fg(DeepSkyBlue)${exec pactl list sinks | awk '/^\tVolume:/ {print $5;exit}'}${endif} \
|
||||
${if_existing .mu/}^fg(grey)✉^fg(DeepSkyBlue)${execi 30 mu find --nocolor --sortfield=d --maxnum=500 flag:unread AND NOT flag:trashed 2>/dev/null | wc -l} ${endif}\
|
||||
${if_match $battery_percent != 0}^fg(grey)⚡^fg(DeepSkyBlue)${if_match ${battery_time} <= 600}^fg(Red)${endif}${battery_short}: ${format_time ${battery_time} "(\dd )(\hh )\mmin"} ${endif}\
|
||||
${if_match ${to_bytes ${diskio nvme0n1}} > 1048576}^fg(grey)nvme0n1:^fg(DeepSkyBlue)${diskio nvme0n1}${endif} \
|
||||
${if_match ${to_bytes ${diskio sda}} > 1048576}^fg(grey)sda:^fg(DeepSkyBlue)${diskio sda}${endif} \
|
||||
|
@ -34,6 +33,10 @@ ${if_match ${to_bytes ${fs_free /}} < 1073741824}^fg(grey)/:^fg(Red)${fs_free /}
|
|||
${if_match ${to_bytes ${fs_free /home}} < 1073741824}^fg(grey)/home:^fg(Red)${fs_free /home}${endif} \
|
||||
]]
|
||||
|
||||
-- TODO: mu unreal emails.
|
||||
-- This is treacherously distracting...
|
||||
-- ${if_existing .mu/}^fg(grey)✉^fg(DeepSkyBlue)${execi 30 mu find --nocolor --sortfield=d --maxnum=500 flag:unread AND NOT flag:trashed 2>/dev/null | wc -l} ${endif}\
|
||||
|
||||
-- TODO: Emms current track:
|
||||
-- ${if_match "${execi 5 emacsclient -e '(and (fboundp (quote emms-playlist-current-selected-track)) (emms-playlist-current-selected-track) (emms-track-description (emms-playlist-current-selected-track)))'}" != "nil"}^fg(grey)♪^fg(DeepSkyBlue)${execi 5 emacsclient -e '(emms-track-description (emms-playlist-current-selected-track))' | tr -d '"'}${endif} \
|
||||
-- Above line works but polling interferes with bindings (Emacs echoes '<t>' on keypresses).
|
||||
|
|
Loading…
Reference in New Issue