All pastes #877003 Raw Edit

Something

public shellscript v1 · immutable
#877003 ·published 2008-01-29 07:58 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)##007FFF DEFAULT COLOR# Create own window instead of using desktop (required in nautilus)own_window yesown_window_hints undecorated,below,skip_taskbarbackground no# Use double buffering (reduces flicker, may not work for everyone)double_buffer yes# fiddle with windowuse_spacer yesuse_xft yes# Update interval in secondsupdate_interval 2.0# Minimum size of text areaminimum_size 400 5# Draw shades?draw_shades yes# Text stuffdraw_outline no # amplifies text if yesdraw_borders nouppercase no # set to yes if you want all text to be in uppercase# Stippled borders?stippled_borders 8# border marginsborder_margin 4# border widthborder_width 1# Default colors and also border colors, grey90 == #e5e5e5default_color whitedefault_shade_color blackdefault_outline_color whiteown_window_colour brownown_window_transparent yes# Text alignment, other possible values are commented#alignment top_leftalignment top_right#alignment bottom_left#alignment bottom_right# Gap between borders of screen and textgap_x 10gap_y 15# stuff after 'TEXT' will be formatted on screenoverride_utf8_locale noxftfont Terminus:size=8xftalpha 0.8TEXT${offset 240}${color slate grey}${time %a, } ${color }${time %e %B %G}${offset 240}${color slate grey}${time %Z,    }${color }${time %H:%M:%S}${offset 240}${color slate grey}UpTime: ${color }$uptime${offset 240}${color slate grey}Kern:${color }$kernel${offset 240}${color slate grey}CPU:${color } $cpu%${offset 240}${cpugraph 20,130 000000 ffffff}${offset 240}${color slate grey}Load: ${color }$loadavg${offset 240}${color slate grey}Processes: ${color }$processes  ${offset 240}${color slate grey}Running:   ${color }$running_processes${offset 240}${color slate grey}Highest CPU:${offset 240}${color #007FFF} ${top name 1}${top_mem cpu 1}${offset 240}${color lightgrey} ${top name 2}${top cpu 2}${offset 240}${color lightgrey} ${top name 3}${top cpu 3}${offset 240}${color lightgrey} ${top name 4}${top cpu 4}${offset 240}${color slate grey}Highest MEM:${offset 240}${color #007FFF} ${top_mem name 1}${top_mem mem 1}${offset 240}${color lightgrey} ${top_mem name 2}${top_mem mem 2}${offset 240}${color lightgrey} ${top_mem name 3}${top_mem mem 3}${offset 240}${color lightgrey} ${top_mem name 4}${top_mem mem 4}${offset 240}${color slate grey}MEM:  ${color } $memperc% $mem/$memmax${offset 240}${membar 3,100}${offset 240}${color slate grey}ROOT:    ${color }${fs_free /}/${fs_size /}${offset 240}${fs_bar 3,100 /}${offset 240}${color slate grey}HOME:  ${color }${fs_free /home}/${fs_size /home}${offset 240}${fs_bar 3,100 /home}${offset 240}${color slate grey}NET: ${offset 240}${color}Up: ${color }${upspeed eth0} k/s${offset 240}${upspeedgraph eth0 20,130 000000 ffffff}${offset 240}${color}Down: ${color }${downspeed eth0}k/s${color}${offset 240}${downspeedgraph eth0 20,130 000000 ffffff}${offset 240}${color slate grey}GMail Account:${offset 240}${color #007FFF}${texeci 300 python ~/.public/gmail.py}