Add my hack script to generate org-mode stuff;

various color improvements;
various configuration and setup changes.
This commit is contained in:
Bradley M. Kuhn 2013-08-25 21:32:56 -04:00
parent ce5d30abac
commit 54bc47f50f

View file

@ -1,95 +1,95 @@
minimum_size 280 1394 #!/usr/bin/conky -d -c
maximum_width 600 ## .conkyrc configuration
gap_x 1 update_interval 10.0
gap_y 1
background no alignment top_left
use_xft yes use_xft yes
xftfont Inconsolata:size=9.5 xftfont Inconsolata:size=9.5
xftalpha 0.1 xftalpha 0.1
own_window yes
own_window_transparent yes
own_window_type normal
own_window_class conky-semi
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_visual yes
own_window_argb_value 255
draw_shades yes
default_shade_color 292421
color0 White #FFFFFF
color1 Ivory #FFFFF0
color2 Ivory2 #EEEEE0
color3 Ivory3 #CDCDC1
color4 Tan1 #FFA54F
color5 Tan2 #EE9A49
color6 Gray #7E7E7E
color7 AntiqueWhite4 #8B8378
color8 DimGray #696969
color9 Tomato #FF6347
update_interval 5.0
total_run_times 0
own_window yes
own_window_type override
own_window_colour hotpink
double_buffer yes double_buffer yes
draw_shades yes draw_shades yes
draw_outline no
draw_graph_borders yes own_window_type desktop
stippled_borders 8 own_window yes
border_margin 4 own_window_transparent yes
border_width 1 own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
default_color darkgrey
default_shade_color black text_buffer_size 8000
default_outline_color black max_user_text 10000
alignment top_left
no_buffers yes default_color e1e1e1
uppercase no color0 555555
cpu_avg_samples 2 color1 FCAF3E
net_avg_samples 2 color2 Ivory #FFFFF0
override_utf8_locale no #color2 64574e
use_spacer none color3 Ivory3 #CDCDC1
color4 grey40
color5 Red
color6 a7a7a7
color7 8888CC
color8 9d9c61
color9 525276
minimum_size 280 499
maximum_width 499
gap_x 0
gap_y 1
TEXT TEXT
${voffset -20}${color2}${font led:size=10}SYSTEM ${font}$hr ${color2}${goto 20}${font DejaVu Sans:size=30}${time %H}${font DejaVu Sans:size=28}:${time %M}${color2}${goto 135}${font DejaVu Sans:size=10}${voffset -15}${time %Z}${goto 136}${voffset 12}${font DejaVu Sans:size=6}(${time %z})${color2}${goto 200}${voffset -10}${font :size=15}${time %A %d %B %Y}
${color #5b6dad}${alignc}${nodename} ${uptime_short} ${font Inconsolata:size=10}${execpi 18000 ~/hacks/Small-Hacks/org-mode-appt-check.plx}
${color4}$hr
${color}${font Inconsolata:size=10}${execpi 14400 /usr/bin/cal -B 1 -A 1 | /bin/cat -v | /usr/bin/perl -ne 'next if /^\s*\d+\s*$/; s/\_\^H(\d)/\${color1}$1\${color}/g; print;'}
${voffset -10}${color2}${font led:size=10}CPU ${font}$hr
Overall temperature: ${acpitemp}°C
${color}Core 0: ${cpu cpu0}% ${freq_g (0)} GHz ${goto 200}Temp:${goto 200}${voffset 10}${exec sensors | grep "Core 0" | cut --bytes=14-21} ${voffset -10}${execgraph sensors |perl -ne 'if (s/^\s*Core\s+\d+\s*:\s*[\+\-]\s*([\d\.]+).*$/$1/) { $_ -= 10; print "$_\n";}'}
${color}Core 1: ${cpu cpu1}% ${freq_g (1)} GHz ${goto 200}Temp:${goto 200}${voffset 10}${exec sensors | grep "Core 1" | cut --bytes=14-21} ${voffset -10}${execgraph sensors |perl -ne 'if (s/^\s*Core\s+\d+\s*:\s*[\+\-]\s*([\d\.]+).*$/$1/) { $_ -= 10; print "$_\n";}'}
Load: ${loadgraph}
${voffset -10}${color2}${font led:size=10}DISK I/O ${font}$hr
Read: ${diskiograph_read}
Write: ${diskiograph_write}
${color #5b6dad}CPU: ${color grey}$cpu%
${color #5b6dad} ${cpugraph 16,140 000000 7f8ed3}
${color #5b6dad}RAM: $color$mem/$memmax
${color #5b6dad} ${membar 6,140}
${color #5b6dad}Swap:$color$swap/$swapmax
${color #5b6dad} ${swapbar 6,140}
${color #5b6dad}ETH0 Down: $color${downspeed eth0}${alignr} k/s
${color #5b6dad} ${downspeedgraph eth0 16,140 000000 7f8ed3 150}
${color #5b6dad}ETH0 Up: $color${upspeed eth0}${alignr} k/s
${color #5b6dad} ${upspeedgraph eth0 16,140 000000 7f8ed3 18}
${color #5b6dad}File systems:
${color #5b6dad}/ $color${fs_free /}
${color #5b6dad} ${fs_bar 6,140 /}
${color #5b6dad}storage $color${fs_free /mnt/attach}
${color #5b6dad} ${fs_bar 6,140 /mnt/attach}
${color #5b6dad}Processes:$color $processes | $running_processes
${color} Cpu usage CPU
${color #ddaa00} ${top name 1}${offset -50} ${top cpu 1}
${color #5b6dad} ${top name 2}${offset -50} ${top cpu 2}
${color #5b6dad} ${top name 3}${offset -50} ${top cpu 3}
${color #5b6dad} ${top name 4}${offset -50} ${top cpu 4}
${color} Mem usage MEM
${color #ddaa00} ${top_mem name 1}${offset -50} ${top_mem mem 1}
${color #5b6dad} ${top_mem name 2}${offset -50} ${top_mem mem 2}
${color #5b6dad} ${top_mem name 3}${offset -50} ${top_mem mem 3}
${color #5b6dad} ${top_mem name 4}${offset -50} ${top_mem mem 4}
${color #5b6dad}# Connections
$color In: ${tcp_portmon 1 32767 count} Out: ${tcp_portmon 32768 61000 count}${alignr}
$color$stippled_hr
${color grey}CPU Temperatures:
${color grey}CPU:$color ${hwmon 1 temp 2}℃
# ${color grey}Case:$color ${hwmon 1 temp 1}℃ ${color grey}NB:$color ${hwmon 1 temp 3}℃
${voffset -10}${color2}${font led:size=10}BATTERY ${font}$hr
Battery: ${battery} ${acpiacadapter}
${battery_bar}
${goto 3} ${font :size=10}${time %H:%M on %A %d %B %Y}