rendered paste body
# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages
# - netstat connections to your computer
#
# -- Pengo (conky@pengo.us)
#
# Create own window instead of using desktop (required in nautilus)
#own_window yes
#own_window_hints undecorated,below,skip_taskbar
background yes
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer yes
use_xft yes
# Update interval in seconds
update_interval 1.0
# Minimum size of text area
minimum_size 50 5
# Draw shades?
draw_shades yes
# Text stuff
draw_outline no # amplifies text if yes
draw_borders yes
max_specials 2048
uppercase no # set to yes if you want all text to be in uppercase
# Stippled borders?
#stippled_borders 8
# border margins
border_margin 4
maximum_width 230
# border width
border_width 1
# Default colors and also border colors, grey90 == #e5e5e5
default_color slate grey
default_shade_color black
default_outline_color white
own_window_colour brown
own_window_transparent yes
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
gap_x 5
gap_y 7
# stuff after 'TEXT' will be formatted on screen
override_utf8_locale no
xftfont Dungeon:size=9
xftalpha 0.8
TEXT
${color slate grey}Host: ${alignr}${color light grey}$nodename
${color slate grey}${time %a.} ${alignr}${color light grey}${time %e %B %G}
${color slate grey}${time %Z.}${alignr}${color light grey}${time %H:%M:%S}
${color slate grey}Uptime:${alignr}${color light grey}$uptime
${color slate grey}Kernel:${alignr}${color light grey}$sysname $kernel on $machine
${color slate grey}CPU @ ${freq_dyn}MHz:${alignr}${color light grey}$cpu% ${alignr}${acpitempf}F
${alignr}${cpugraph 20,225 000000 7b8e9c}
${color slate grey}Load:${alignr}${color light grey}$loadavg
${color slate grey}Processes:${alignr}${color light grey}$processes
${color slate grey}Running:${alignr}${color light grey}$running_processes
${color light grey}PROCESSES ${color slate grey}${hr}
${color slate grey}Highest CPU:
${color #ddaa00} ${top pid 1} ${top name 1}${alignr}${top cpu 1}
${color lightgrey} ${top pid 2} ${top name 2}${alignr}${top cpu 2}
${color lightgrey} ${top pid 3} ${top name 3}${alignr}${top cpu 3}
${color slate grey}Highest MEM:${alignr}
${color #ddaa00} ${top_mem pid 1} ${top_mem name 1}${alignr}${top_mem mem 1}
${color lightgrey} ${top_mem pid 3} ${top_mem name 2}${alignr}${top_mem mem 2}
${color lightgrey} ${top_mem pid 3} ${top_mem name 3}${alignr}${top_mem mem 3}
${color lightgrey}MEMORY ${color slate grey}${hr}
${color slate grey}MEM: ${color lightgrey}$memperc% ${alignr}${color lightgrey} $mem/$memmax
${alignr}${membar 3,225}
${color slate grey}SWAP: ${color lightgrey}$swapperc% ${alignr}${color lightgrey} $swap/$swapmax
${alignr}${swapbar 3,225}
${color lightgrey}FILESYSTEMS ${color slate grey}${hr}
${color slate grey}ROOT: ${color lightgrey}${fs_free_perc /}% ${alignr}${color light grey}${fs_free /}/${fs_size /}
${alignr}${fs_bar 3,225 /}
${color slate grey}HOME: ${color lightgrey}${fs_free_perc /home}% ${alignr}${color light grey}${fs_free /home}/${fs_size /home}
${alignr}${fs_bar 3,225 /home}
${color slate grey}SDA1: ${color light grey}${fs_free_perc /media/usbdisk}% ${alignr}${color light grey}${fs_free /media/usbdisk}/${fs_size /media/usbdisk}
${alignr}${fs_bar 3,225 /media/usbdisk}
${color slate grey}HDA3: ${color light grey}${fs_free_perc /media/hda3}% ${alignr}${color light grey}${fs_free /media/hda3}/${fs_size /media/hda3}
${alignr}${fs_bar 3,225 /media/hda3}
${color light grey}NETWORKING ${color slate grey}${hr}
${color slate grey}Address: ${color light grey}${addr eth0}${alignr}${texeci 60 python ~/conkyweather/gmail.py | ~/dev/conkyhelper.rb}${color slate grey}Messages: ${color light grey}${if_existing /tmp/.gmailnew}${color #ddaa00}$endif${exec cat /tmp/.gmailcount}
${color slate grey}Up Speed: ${color light grey}${alignr}${upspeedf eth0}k/s | ${totalup eth0} Total
${alignr}${upspeedgraph eth0 20,225 000000 7b8e9c}
${color slate grey}Down Speed: ${color light grey}${alignr}${downspeedf eth0}k/s | ${totaldown eth0} Total
${alignr}${downspeedgraph eth0 20,225 000000 7b8e9c}
${color }Inbound: ${color light grey}${tcp_portmon 1 32767 count} ${color}Outbound: ${color light grey}${tcp_portmon 32768 61000 count}${alignr}${color }Total: ${color light grey}${tcp_portmon 1 65535 count}
${color light grey}MUSIC ($mpd_status) ${color slate grey}${hr}
${color slate grey}Artist: ${color light grey}${alignr}$mpd_artist
${color slate grey}Title: ${color light grey}${alignr}$mpd_title
${color slate grey}Album: ${color light grey}${alignr}$mpd_album
${color slate grey}Time: ${color light grey}${alignr}$mpd_elapsed / $mpd_length
${color light grey}$mpd_bar
${color slate grey}Random [${color light grey}$mpd_random${color slate grey}] Volume ${color lightgrey}$mpd_vol%${color }${alignr}Repeat [${color light grey}$mpd_repeat${color slate grey}]
${color lightgrey}WEATHER ${color slate grey}${hr}
${color light grey}${execi 600 /home/ebirtaid/conkyweather/weather.sh 31030}
${color lightgrey}FORTUNE ${color }${hr}
${color lightgrey}${execi 300 fortune -s | fold -w42}