# My Conky configuration # # the list of variables has been removed from this file in favour # of keeping the documentation more maintainable. # Check http://conky.sf.net for an up-to-date-list. # #fonts use_xft yes xftfont comicsansms:size=10 xftalpha 0.8 uppercase no update_interval 5.0 total_run_times 0 double_buffer yes no_buffers yes own_window yes own_window_type normal own_window_transparent yes own_window_argb_visual yes #own_window_colour black own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager alignment bottom_right minimum_size 300 900 maximum_width 300 gap_x 10 gap_y 60 #border info draw_shades no draw_outline no draw_borders no draw_graph_borders yes stippled_borders 8 border_margin 4 border_width 1 # Default colors and also border colors default_color LightBlue default_shade_color White default_outline_color White color1 White color2 LightGray # Variables cpu_avg_samples 2 net_avg_samples 1 override_utf8_locale yes format_human_readable short_units # Add spaces to keep things from moving about? This only affects certain objects. use_spacer right # stuff after 'TEXT' will be formatted on screen ############################################################################ TEXT ########## SYSTEM ############## ${color CC9900}${font Arial:style=Bold}SYSTEM ${hr 2}$color$font ${font}${color2}Name: ${color}$nodename ${color2}Kernel: ${color}$sysname $kernel on $machine ${color2}OS:${alignr}${color}${execi 6000 cat /etc/os-release|grep 'PRETTY_NAME'|sed 's/PRETTY_NAME="//'|sed 's/"//'} ${color2}Code Name:${alignr} ${color}${execi 6000 cat /etc/os-release|grep 'VERSION='|awk '{print $2" "$3}'|sed 's/"//'} ${color2}GUI:${alignr}${color}${execi 6000 konsole -version|grep 'KDE' |awk '{print $1" "$4}'} ${color2}Total Uptime:${alignr} ${color}${uptime_short} ########## CPU ############### ${color CC9900}${font Arial:style=Bold}CPU ${hr 2}$color$font ${font}${execi 6000 cat /proc/cpuinfo|grep -m 1 'model name'|awk '{print $4" "$5" "$6" "$7" "$8}'} ${color2}Cores: ${color}${execi 6000 cat /proc/cpuinfo|grep -m 1 'cpu cores'|awk '{print $4}'} ${color2}Temp: ${color}${exec sensors|grep 'CPU Temp'|awk '{print $3}'} ${color2}Freq: ${color}${freq 1} ${color2}Load: ${color} $cpu% ${cpubar 12} ######### GPU ############### ${color CC9900}${font Arial:style=Bold}GPU ${hr 2}$color$font ${color2}Model: ${color}nVidia Geforce GTX 650ti ${color2}Temp: ${color}${exec sensors|grep -m 1 'temp1:'|awk '{print $2}'} ######### UPS ############### ${color CC9900}${font Arial:style=Bold}UPS ${hr 2}$color$font ${color2}Model: ${color}${execi 3600 apcaccess|grep 'MODEL'|awk '{print $3" "$4" "$5}'} ${color2}Status: ${color}${execi 3600 apcaccess|grep 'STATUS'|awk '{print $3}'} ${color2}Load: ${color}${execi 3600 apcaccess|grep 'LOADPCT'|awk '{print $3}'}% ${color2}Backup Time: ${color}${execi 3600 apcaccess|grep 'TIMELEFT'|awk '{print $3" "$4}'} ${color2}Battery Charge: ${color}${execi 3600 apcaccess|grep 'BCHARGE'|awk '{print $3}'}% ######### MEMORY ############### ${color CC9900}${font Arial:style=Bold}MEMORY ${hr 2}$color$font ${color2}RAM: ${color}$memperc% ${alignr}$mem / $memmax ${color2}Swap: ${color}$swapperc% ${alignr}$swap / $swapmax ######### NETWORK ############### ${color CC9900}${font Arial:style=Bold}NETWORK ${hr 2}$color$font ${color2}IP on eth0 ${color}$alignr${addr eth0} ${color2}Down ${color}$alignr ${downspeedf eth0} kb/s ${color2}Up ${color}$alignr ${upspeedf eth0} kb/s ######### WX #################### ${color CC9900}${font Arial:style=Bold}LOCAL WX${hr 2}$color$font ${execi 3600 curl -s http://weather.noaa.gov/pub/data/observations/metar/decoded/KPNS.TXT |grep 'PEN'|awk '{print $1,$2,$3,$7}'} ${execi 3600 curl -s http://weather.noaa.gov/pub/data/observations/metar/decoded/KPNS.TXT |sed -n 2p|awk '{print $1,$2,$3,$4,$5,$6,$7}'} ${execi 3600 curl -s http://weather.noaa.gov/pub/data/observations/metar/decoded/KPNS.TXT |sed -n 3p|awk '{print $1,$2,$5,$6,$7,$8,$9}'} ${execi 3600 curl -s http://weather.noaa.gov/pub/data/observations/metar/decoded/KPNS.TXT |sed -n 5,6p} ${execi 3600 curl -s http://weather.noaa.gov/pub/data/observations/metar/decoded/KPNS.TXT |sed -n 9p|awk '{print $1,$2,$3,$4,$5}'} #