-
Notifications
You must be signed in to change notification settings - Fork 0
/
conkyrc
17 lines (17 loc) · 987 Bytes
/
conkyrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
TEXT
### Mail ###
${if_match "${execpi 60 cat ~/.mailcount}" != "0"} ^fg(\#6F99B4)MAIL:^fg() ${execpi 60 cat ~/.mailcount} |${endif}#
### Battery level (if critical) ###
${if_match ${battery_percent} != 0}${if_match ${battery_percent} <= 15} ^fg(\#6F99B4)BATT: ^fg(\#AE4747)${battery_percent}% ^fg()|${endif}${endif}#
#
### Media Disk usage (if critical) ###
${if_match ${fs_used_perc /} >= 70} ^fg(\#6F99B4)ROOT: ^fg(\#AE4747)${execpi 20 df -h / | tr -s ' ' | cut -d ' ' -f 4 | tail -n 1 | sed 's/[0-9A-Z]\{3\}/ &/'} ^fg()|${endif}#
#
### Root Disk usage (if critical) ###
${if_match ${fs_used_perc /mnt/media} >= 70} ^fg(\#6F99B4)MEDIA: ^fg(\#AE4747)${execpi 20 df -h /mnt/media | tr -s ' ' | cut -d ' ' -f 4 | tail -n 1 | sed 's/[0-9A-Z]\{3\}/ &/'} ^fg()|${endif}#
#
### MPD Song ###
${if_mpd_playing} ^fg(\#6F99B4)MPD: ^fg()${mpd_artist} - ${mpd_title} ^fg()|${endif}#
#
### Time and Date ###
^fg(\#6F99B4)${execpi 3600 date +"%a %e %b"}^fg() ${execpi 60 date +"%H:%M"}#