• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Sample Conky (system monitor) configuration file with weather, CPU graph, memory graph, network traffic graph and processes


Commit MetaInfo

Revision81a17d48322dc430d2ac2f2b3e49b290af52288d (tree)
Zeit2015-07-05 22:30:38
Autorshitamo <shitamo@user...>
Commitershitamo

Log Message

pre_exec to carry it out by a shell script.

Ändern Zusammenfassung

Diff

--- a/conkyrc
+++ b/conkyrc
@@ -52,7 +52,7 @@ ${rss http://weather.livedoor.com/forecast/rss/warn/16.xml 60 item_title \1}]],
5252
5353 conky.text = [[
5454 #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}\
5656 # https://weather.yahoo.com/japan/ -> Toyama Prefecture -> Toyama-shi
5757 # https://weather.yahoo.com/japan/toyama-prefecture/toyama-shi-1118400/
5858 ${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}
7979 ${color #ffffff}Swap Usage : ${color #eae5e3}${swap}/${swapmax} - ${swapperc}% - ${swapbar 5}
8080 ${color #d8e698}${stippled_hr}
8181 ${color #d8e698}Device temperature :${color #eae5e3}
82-${execi 100 ~/.cache/hdddev.sh > ~/.cache/hddtemp.txt}\
82+${execi 60 ~/.cache/hdddev.sh > ~/.cache/hddtemp.txt}\
8383 ${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℃
8484 ${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℃
8585 ${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℃