Totally re-worked configuration - now displays everything on one line on top of the...
authorJulien Valroff <julien@kirya.net>
Sat, 28 May 2011 18:52:50 +0000 (20:52 +0200)
committerJulien Valroff <julien@kirya.net>
Sat, 28 May 2011 18:52:50 +0000 (20:52 +0200)
.conkyrc

index 8897637..10d060d 100644 (file)
--- a/.conkyrc
+++ b/.conkyrc
@@ -1,9 +1,6 @@
-# Conky configuration
 background yes
 use_xft yes
-xftfont Monospace:size=9
-xftalpha 1
-out_to_console no
+xftfont Monospace:size=8
 update_interval 1
 total_run_times 0
 own_window yes
@@ -11,42 +8,26 @@ own_window_type desktop
 own_window_transparent yes
 own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
 double_buffer yes
-draw_shades yes
-draw_outline no
-draw_borders no
 draw_graph_borders yes
-stippled_borders 1
-border_width 1
 default_color grey
-default_shade_color 222222
-default_outline_color 333333
-alignment top_right
-gap_x 12
-gap_y 12
+alignment top_middle
+gap_x -6 
+gap_y 3
 no_buffers no
-uppercase no
+uppercase yes
 cpu_avg_samples 2
 net_avg_samples 2
 override_utf8_locale yes
-use_spacer none
+use_spacer left
+music_player_interval 5
 
 TEXT
-${color white}$alignc$sysname $kernel on $machine
-${color white}$alignc${exec whoami}@$nodename.${exec hostname -d}
-$color$stippled_hr
-${color}Date: ${color white}${time %A %d %B} ${time %k:%M}
-${color}Uptime: ${color white}$uptime
-${color}CPU Frequency:${color white} ${freq_g}ghz
-$color$stippled_hr
-${color}CPU:${color white} ${cpu cpu1}% ${cpubar cpu1}
-${color}RAM:${color white} $memperc%  $mem/$memmax $membar
-${color}Swap: ${color white}$swapperc% $swap/$swapmax ${swapbar}
-$color$stippled_hr
-${alignc}File systems
-${color}/${offset 28}${color white} ${fs_used_perc /}%   ${fs_used /}/${fs_size /}   ${fs_bar /}
-${color}/home${color white} ${fs_used_perc /home}%   ${fs_used /home}/${fs_size /home}   ${fs_bar /home}
-$color$stippled_hr
-${alignc}Networking
-${color}Down:${color white} ${downspeed wlan0} k/s${color}${offset 80}Up:${color white} ${upspeed wlan0} k/s
-${color}${downspeedgraph wlan0 32,150 black white} ${color}${upspeedgraph wlan0 32,150 black white}
-${color}Address: ${color white}${addr wlan0}${alignr}${color}TCP Connections: ${color white}${tcp_portmon 1 65535 count}
+${color}Uptime: ${color white}${uptime} ${color}| \
+${color}CPU:${color white} ${freq_g}ghz ${cpu cpu1}% ${cpubar cpu1 5,40} ${color}| \
+${color}RAM:${color white} ${mem} ${membar 5,40} ${color}| \
+${color}Down:${color white} ${downspeedf wlan0} Kb/s \
+${color}${downspeedgraph wlan0 12,40 black white} ${color}| \
+${color}Up:${color white} ${upspeedf wlan0} Kb/s \
+${color}${upspeedgraph wlan0 12,40 black white} ${color}| \
+${color}${mpd_status} ${color white}${mpd_smart} \
+${mpd_bar 5,50} ${mpd_elapsed}/${mpd_length}