Sample Conky (system monitor) configuration file with weather, CPU graph, memory graph, network traffic graph and processes
| Revision | 1fe840861bda6ef2757a17a4b8ebe07c1da5dcc8 (tree) |
|---|---|
| Time | 2014-11-12 18:26:09 |
| Author | Магсіп Міегzејеѡѕкі <marcin.mierzejewski@zenz...> |
| Commiter | Магсіп Міегzејеѡѕкі |
Merge pull request #2 from xulesc/master
fix grep: invalid option -- 'O'
| @@ -10,13 +10,18 @@ gap_x 0 | ||
| 10 | 10 | gap_y 0 |
| 11 | 11 | minimum_size 268 1220 |
| 12 | 12 | maximum_width 268 |
| 13 | -alignment top_left | |
| 13 | +alignment top_right | |
| 14 | 14 | own_window yes |
| 15 | 15 | own_window_type normal |
| 16 | 16 | own_window_transparent yes |
| 17 | 17 | own_window_argb_visual yes |
| 18 | 18 | own_window_argb_value 255 |
| 19 | 19 | 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 | |
| 20 | 25 | border_inner_margin 0 |
| 21 | 26 | border_outer_margin 0 |
| 22 | 27 |
| @@ -62,7 +67,7 @@ ${execi 300 curl -s "http://weather.yahooapis.com/forecastrss?w=493776&u=c" -o ~ | ||
| 62 | 67 | ${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} |
| 63 | 68 | ${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} |
| 64 | 69 | \ |
| 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 "[^\"]*"} | |
| 66 | 71 | ${color1}${alignr 55}${voffset 7}${execi 300 grep "yweather:atmosphere" ~/.cache/weather.xml | grep -o "humidity=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"} %${color} |
| 67 | 72 | ${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} |
| 68 | 73 | \ |
| @@ -73,6 +78,7 @@ ${color3}${voffset -13}${alignc -77}${execi 300 grep "yweather:forecast" ~/.cach | ||
| 73 | 78 | ${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} |
| 74 | 79 | ${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} |
| 75 | 80 | ${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} | |
| 76 | 82 | \ |
| 77 | 83 | # Cpu, memory and disk IO |
| 78 | 84 | \ |
| @@ -85,7 +91,7 @@ ${goto 40}Mem:${alignr 39}${memperc}% | ||
| 85 | 91 | |
| 86 | 92 | ${goto 40}${diskiograph 26,190 FFFFFF FFFFFF -l} |
| 87 | 93 | ${goto 40}Disk I/O:${alignr 39}${diskio} |
| 88 | - | |
| 94 | +${hr 2} | |
| 89 | 95 | \ |
| 90 | 96 | # Network |
| 91 | 97 | \ |
| @@ -99,6 +105,7 @@ ${goto 40}${upspeedgraph eth0 26,80 FFFFFF FFFFFF}${goto 150}${downspeedgraph et | ||
| 99 | 105 | ${goto 40}${color5}Up: ${color2}${upspeed eth0}${color5}${goto 150}Down: ${color2}${downspeed eth0} |
| 100 | 106 | ${goto 40}${color5}Sent: ${color2}${totalup eth0}${color5}${goto 150}Received: ${color2}${totaldown eth0} |
| 101 | 107 | ${endif} |
| 108 | +${hr 2} | |
| 102 | 109 | \ |
| 103 | 110 | # Proceses |
| 104 | 111 | \ |
| @@ -115,7 +122,15 @@ ${goto 40}${color2}${top_mem name 2}${color}${alignr 39}${top cpu 2} % | ||
| 115 | 122 | ${goto 40}${color2}${top_mem name 3}${color}${alignr 39}${top cpu 3} % |
| 116 | 123 | ${goto 40}${color2}${top_mem name 4}${color}${alignr 39}${top cpu 4} % |
| 117 | 124 | ${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 | |
| 119 | 134 | \ |
| 120 | 135 | # Various images including the icons of the forecast # |
| 121 | 136 | \ |