# conky configuration for Slackware # weather information pulled from noaa # via a script that parses lynx output # see: # http://home.comcast.net/~j_mccue/config/weather.txt # IMPORTANT ------ # Note, You can/should schedule the script in cron, *but* I # ^^^^ would execute it every 3 or 4 hours, no less than 3. # ^^^^ First the noaa site is not updated too often. Also # ^^^^ noaa can detect multiple queries and will block your # IP for a period of time if too many queries are made. # It does not take too many quieries in a short period # of time for a block to occur. # text_buffer_size 1536 maximum_width 355 minimum_size 355 temperature_unit Fahrenheit alignment top_right background no border_width 1 cpu_avg_samples 2 double_buffer yes draw_borders no draw_graph_borders yes draw_outline no draw_shades no use_xft yes xftfont Monospace:size=7 gap_x 0 gap_y 0 net_avg_samples 2 no_buffers yes out_to_console no out_to_stderr no extra_newline no stippled_borders 0 update_interval 2.0 uppercase no use_spacer none show_graph_scale no show_graph_range no own_window no own_window_type normal own_window_transparent yes own_window_class conky-semi own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager # List Colors default_color white default_outline_color green default_shade_color red color0 thistle3 color1 SteelBlue color2 azure3 color3 FFE500 color4 99ff80 color5 SeaGreen1 color6 FF7F00 color7 PowderBlue color8 AliceBlue color9 lightblue TEXT ${color2}${font Comic Sans MS:regular:size=10}${audacious_title 41} ${color7}${font University LT Roman:bold:size=30}S$color${font University LT Roman:bold:size=13}${color7}LACKWARE \ ${color8}${font University LT Roman:bold:size=10}${execi 18000 uname -m} \ ${color7}${voffset -7}${font University LT Roman:bold:size=16}${execi 14400 cat /etc/slackware-version | awk '{print $2}' | sed 's/\.0$//'} ${color6}${font Monospace:size=11}\ ${color0}${execi 300 $HOME/bin/Util/show_weather_tor.sh 3} ${color5}MEM:${color9} ${offset 15}RAM: $mem/$memmax - $memperc% ${membar 6} ${offset 15}Swap: $swap/$swapmax - $swapperc% ${swapbar 6} ${color5}File systems:${color9} ${offset 15}/home ${color7}${fs_used /home}/${fs_size /home} ${fs_bar /home} ${offset 15}/work ${color7}${fs_used /usr}/${fs_size /work} ${fs_bar /work} ${offset 15}/var ${color7}${fs_used /var}/${fs_size /var} ${fs_bar /var} # File $HOME/TEMP/real.IP holds my actual IP, a cron script # generates once per week by accessing # http://checkip.dyndns.org/ # via lynx ${color5}NET:${color9} ${offset 15}Net IP: $addr / ${execi 3000 cat $HOME/TEMP/real.IP} ${offset 15}Net Speed: Up/Down: ${upspeed eth0} / ${downspeed eth0} k/s ${offset 15}Net Total: Up/Down: ${totalup eth0} / ${totaldown eth0} ${color5}CPU:${color9} # Here I have a script executing every 30 mins via cron to create # the file. The script executes and saves the results of: # sensors -f | grep temp1 | sort | grep -v '+104\.0' | head -1 | awk '{print $2}' ${offset 15}CPU Usage: ${cpu cpu0}% ${execi 60 cat ~/TEMP/data/log/log_cpu_temp_curr.txt}°F ${cpubar cpu0 6} #Try this in place of execi ? $acpitemp°F ${offset 15}Processes: $processes Running: $running_processes ${offset 15}Threads: $threads Running: $running_threads ${color5}Processes:${color9} ${offset 15}${top cpu 1}% ${top pid 1} ${top name 1} ${offset 15}${top cpu 2}% ${top pid 2} ${top name 2} ${offset 15}${top cpu 3}% ${top pid 3} ${top name 3} ${offset 15}${top cpu 4}% ${top pid 4} ${top name 4} #--- a script to cat a file with notes/reminders for today's date/time ${color5}Notes:${color3} ${execi 280 ~/bin/Util/show_reminder.sh mini | cut -c '1-40' | sed 's/^/ /'} #--- a script to execute "fortune zippy | fmt -w 40" ${color5}Zippy:${color9} ${execi 30 $HOME/bin/Util/show_zippy.sh tor_01}