Sample Conky (system monitor) configuration file with weather, CPU graph, memory graph, network traffic graph and processes
Revision | 81a17d48322dc430d2ac2f2b3e49b290af52288d (tree) |
---|---|
Zeit | 2015-07-05 22:30:38 |
Autor | shitamo <shitamo@user...> |
Commiter | shitamo |
@@ -52,7 +52,7 @@ ${rss http://weather.livedoor.com/forecast/rss/warn/16.xml 60 item_title \1}]], | ||
52 | 52 | |
53 | 53 | conky.text = [[ |
54 | 54 | #pre_execは削除された模様 |
55 | -${execi 3600 /usr/sbin/smartctl --scan | awk '{print "/usr/sbin/hddtemp " $1 " -n -unit=C"}' > ~/.cache/hdddev.sh; chmod +x ~/.cache/hdddev.sh}\ | |
55 | +# ${pre_exec /usr/sbin/smartctl --scan | awk '{print "/usr/sbin/hddtemp " $1 " -n -unit=C"}' > ~/.cache/hdddev.sh; chmod +x ~/.cache/hdddev.sh}\ | |
56 | 56 | # https://weather.yahoo.com/japan/ -> Toyama Prefecture -> Toyama-shi |
57 | 57 | # https://weather.yahoo.com/japan/toyama-prefecture/toyama-shi-1118400/ |
58 | 58 | ${execi 300 curl -s "http://weather.yahooapis.com/forecastrss?w=1118400&u=c" -o ${template1}} |
@@ -79,7 +79,7 @@ ${color #d8e698}System information :${color #eae5e3} | ||
79 | 79 | ${color #ffffff}Swap Usage : ${color #eae5e3}${swap}/${swapmax} - ${swapperc}% - ${swapbar 5} |
80 | 80 | ${color #d8e698}${stippled_hr} |
81 | 81 | ${color #d8e698}Device temperature :${color #eae5e3} |
82 | -${execi 100 ~/.cache/hdddev.sh > ~/.cache/hddtemp.txt}\ | |
82 | +${execi 60 ~/.cache/hdddev.sh > ~/.cache/hddtemp.txt}\ | |
83 | 83 | ${color #ffffff} CPU0:${color #eae5e3}${execi 60 sensors | grep -A 0 'Core0' | cut -c 14-22} ${color #ffffff}HDD1: ${color #eae5e3}${execi 60 sed -e '1!d' ~/.cache/hddtemp.txt}.0℃ |
84 | 84 | ${color #ffffff} CPU1:${color #eae5e3}${execi 60 sensors | grep -A 0 'Core1' | cut -c 14-22} ${color #ffffff}HDD2: ${color #eae5e3}${execi 60 sed -e '2!d' ~/.cache/hddtemp.txt}.0℃ |
85 | 85 | ${color #ffffff} M/B :${color #eae5e3}${execi 60 sensors | grep -A 0 'MB' | cut -c 25-33} ${color #ffffff}HDD3: ${color #eae5e3}${execi 60 sed -e '3!d' ~/.cache/hddtemp.txt}.0℃ |