• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythongamewindowsbathyscaphephpguic翻訳omegattwitterframeworktestbtronarduinovb.net計画中(planning stage)directxpreviewerゲームエンジンdom

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


Commit MetaInfo

Revision8013aea62ffbc42ab0db571ee75276da47dd4e28 (tree)
Zeit2015-01-03 17:45:46
Autorshitamo <shitamo@user...>
Commitershitamo

Log Message

- measures hdd device name changes

Ändern Zusammenfassung

Diff

--- a/conkyrc
+++ b/conkyrc
@@ -70,6 +70,7 @@ template3 ${execi 300 cp -f ~/.conky/icons/$(ruby -ne 'cnt ||= 0; if /yweather:f
7070 template4 ${rss http://weather.livedoor.com/forecast/rss/warn/16.xml 60 item_title \1}
7171
7272 TEXT
73+${pre_exec /usr/sbin/smartctl --scan | awk '{print "/usr/sbin/hddtemp " $1 " -n -unit=C"}' > ~/.cache/hdddev.sh; chmod +x ~/.cache/hdddev.sh}\
7374 # https://weather.yahoo.com/japan/ -> Toyama Prefecture -> Toyama-shi
7475 # https://weather.yahoo.com/japan/toyama-prefecture/toyama-shi-1118400/
7576 ${execi 300 curl -s "http://weather.yahooapis.com/forecastrss?w=1118400&u=c" -o ${template1}}
@@ -96,9 +97,10 @@ ${color #d8e698}System information :${color #eae5e3}
9697 ${color #ffffff}Swap Usage : ${color #eae5e3}${swap}/${swapmax} - ${swapperc}% - ${swapbar 5}
9798 ${color #d8e698}${stippled_hr}
9899 ${color #d8e698}Device temperature :${color #eae5e3}
99-${color #ffffff} CPU0:${color #eae5e3}${execi 60 sensors | grep -A 0 'Core0' | cut -c 14-22} ${color #ffffff}HDD1: ${color #eae5e3}${execi 60 /usr/sbin/hddtemp /dev/sde -n -unit=C}.0℃
100-${color #ffffff} CPU1:${color #eae5e3}${execi 60 sensors | grep -A 0 'Core1' | cut -c 14-22} ${color #ffffff}HDD2: ${color #eae5e3}${execi 60 /usr/sbin/hddtemp /dev/sdf -n -unit=C}.0℃
101-${color #ffffff} M/B :${color #eae5e3}${execi 60 sensors | grep -A 0 'MB' | cut -c 25-33} ${color #ffffff}HDD3: ${color #eae5e3}${execi 60 /usr/sbin/hddtemp /dev/sdg -n -unit=C}.0℃
100+${execi 60 ~/.cache/hdddev.sh > ~/.cache/hddtemp.txt}\
101+${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℃
102+${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℃
103+${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℃
102104 ${color #d8e698}${stippled_hr}
103105 ${color #d8e698}Weather report :${color #eae5e3}
104106 富山空港 ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ RJNT weather } ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ RJNT temperature} ℃