From 18 Jan, 2021 0:00 UTC: All services will be temporary unavailable for maintenance
  • R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythonwindowsphpgamebathyscaphegui翻訳comegattwitterframeworkbtronvb.net計画中(planning stage)testdomarduinodirectxpreviewerゲームエンジン

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


Commit MetaInfo

Revision1fe840861bda6ef2757a17a4b8ebe07c1da5dcc8 (tree)
Zeit2014-11-12 18:26:09
AutorМагсіп Міегzејеѡѕкі <marcin.mierzejewski@zenz...>
CommiterМагсіп Міегzејеѡѕкі

Log Message

Merge pull request #2 from xulesc/master

fix grep: invalid option -- 'O'

Ändern Zusammenfassung

Diff

--- a/conkyrc
+++ b/conkyrc
@@ -10,13 +10,18 @@ gap_x 0
1010 gap_y 0
1111 minimum_size 268 1220
1212 maximum_width 268
13-alignment top_left
13+alignment top_right
1414 own_window yes
1515 own_window_type normal
1616 own_window_transparent yes
1717 own_window_argb_visual yes
1818 own_window_argb_value 255
1919 own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
20+#own_window_type normal
21+#own_window_transparent no
22+#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
23+#own_window_argb_visual yes
24+#own_window_argb_value 0
2025 border_inner_margin 0
2126 border_outer_margin 0
2227
@@ -62,7 +67,7 @@ ${execi 300 curl -s "http://weather.yahooapis.com/forecastrss?w=493776&u=c" -o ~
6267 ${goto 36}${voffset 0}${font Droid Sans :size=36}${color1}${execi 300 grep "yweather:condition" ~/.cache/weather.xml | grep -o "temp=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}°${font}${color}
6368 ${goto 46}${voffset 14}${font Droid Sans :size=12}${color1}${execi 300 grep "yweather:condition" ~/.cache/weather.xml | grep -o "text=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}${font}${color}
6469 \
65-${color1}${alignr 55}${voffset -72}${execi 300 grep "yweather:atmosphere" ~/.cache/weather.xml | grep -o "pressure=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"} ${execi 300 grep "yweather:units" ~/.cache/weather.xml | grep -o "pressure=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -O "[^\"]*"}
70+${color1}${alignr 55}${voffset -72}${execi 300 grep "yweather:atmosphere" ~/.cache/weather.xml | grep -o "pressure=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"} ${execi 300 grep "yweather:units" ~/.cache/weather.xml | grep -o "pressure=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}
6671 ${color1}${alignr 55}${voffset 7}${execi 300 grep "yweather:atmosphere" ~/.cache/weather.xml | grep -o "humidity=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"} %${color}
6772 ${color1}${alignr 55}${voffset 7}${execi 300 grep "yweather:wind" ~/.cache/weather.xml | grep -o "speed=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"} ${execi 300 grep "yweather:units" ~/.cache/weather.xml | grep -o "speed=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}${color}
6873 \
@@ -73,6 +78,7 @@ ${color3}${voffset -13}${alignc -77}${execi 300 grep "yweather:forecast" ~/.cach
7378 ${color2}${voffset 40}${alignc 77}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==1'}°/${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==1'}°${color}
7479 ${color2}${voffset -13}${alignc}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2'}°/${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2'}°${color}
7580 ${color2}${voffset -13}${alignc -77}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3'}°/${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3'}°${color}
81+${hr 2}
7682 \
7783 # Cpu, memory and disk IO
7884 \
@@ -85,7 +91,7 @@ ${goto 40}Mem:${alignr 39}${memperc}%
8591
8692 ${goto 40}${diskiograph 26,190 FFFFFF FFFFFF -l}
8793 ${goto 40}Disk I/O:${alignr 39}${diskio}
88-
94+${hr 2}
8995 \
9096 # Network
9197 \
@@ -99,6 +105,7 @@ ${goto 40}${upspeedgraph eth0 26,80 FFFFFF FFFFFF}${goto 150}${downspeedgraph et
99105 ${goto 40}${color5}Up: ${color2}${upspeed eth0}${color5}${goto 150}Down: ${color2}${downspeed eth0}
100106 ${goto 40}${color5}Sent: ${color2}${totalup eth0}${color5}${goto 150}Received: ${color2}${totaldown eth0}
101107 ${endif}
108+${hr 2}
102109 \
103110 # Proceses
104111 \
@@ -115,7 +122,15 @@ ${goto 40}${color2}${top_mem name 2}${color}${alignr 39}${top cpu 2} %
115122 ${goto 40}${color2}${top_mem name 3}${color}${alignr 39}${top cpu 3} %
116123 ${goto 40}${color2}${top_mem name 4}${color}${alignr 39}${top cpu 4} %
117124 ${goto 40}${color2}${top_mem name 5}${color}${alignr 39}${top cpu 5} %
118-
125+${hr 2}
126+\
127+# System shortcuts
128+${font Droid Sans :size=12}
129+${goto 40}W-t${alignr 40}Terminal
130+${goto 40}W-e${alignr 40}Editor
131+${goto 40}W-f${alignr 40}File browser
132+${goto 40}W-w${alignr 40}Web browser
133+${goto 40}C-W-F4${alignr 40}Log off
119134 \
120135 # Various images including the icons of the forecast #
121136 \