All pastes #375143 Raw Edit

Unnamed

public text v1 · immutable
#375143 ·published 2007-02-28 01:06 UTC
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_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# fiddle with window
use_spacer yes
use_xft no

# Update interval in seconds
update_interval 2.0

# Minimum size of text area
# minimum_size 250 5

# Draw shades?
draw_shades no

# Text stuff
draw_outline yes # amplifies text if yes
draw_borders no
font arial


uppercase no # set to yes if you want all text to be in uppercase

# Stippled borders?
stippled_borders 3

# border margins
border_margin 9

# border width
border_width 10

# Default colors and also border colors, grey90 == #e5e5e5
default_color grey

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 10
gap_y 10

# stuff after 'TEXT' will be formatted on screen

TEXT
$color
${color #88ECE0}SYSTEM ${hr 2}$color
 $nodename $sysname $kernel on $machine 
${color #88ECE0}CPU ${hr 2}$color
 ${freq}MHz   Load: ${loadavg}   Uptime: ${uptime}
 ${color}Core 1 Usage:$color ${alignc} ${cpu cpu1}% ${color}${cpubar cpu1}
 ${color}Core 2 Usage:$color ${alignc} ${cpu cpu2}% ${color}${cpubar cpu2}

${color #88ECE0}NETWORK (${addr wlan0}) ${hr 2}$color
 Down: $color${downspeed wlan0} k/s ${alignr}Up: ${upspeed wlan0} k/s

${execi 12 netstat -e -p -t | grep ESTABLISHED | cut -c45-68,80-86,102-140}
${color #88ECE0}WEATHER ${hr 2}$color
${execi 1800 /home/iceni/scripts/weather.sh UKXX0085}