All pastes #739187 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-10-16 22:53 UTC
rendered paste body

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type desktop
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 yes

# Update interval in seconds
update_interval 3.0

# Minimum size of text area
# minimum_size 250 5

# Draw shades?
draw_shades no

# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
xftfont HandelGotD:size=9
uppercase no # set to yes if you want all text to be in uppercase

# Stippled borders?
stippled_borders 0

# border margins
border_margin 1

# border width
border_width 1

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

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 20
gap_y 25

# stuff after 'TEXT' will be formatted on screen

TEXT
$color
${color purple}SYSTEM ${hr 2}$color
$nodename $sysname $kernel on $machine
Uptime: $uptime

${color purple}CPU ${hr 2}$color
Load: ${loadavg}          Temp: ${acpitemp}  ${alignr}Fan: ${acpifan} 
cpu0  ${cpubar cpu0}
${cpugraph cpu0 000000 A020F0}
cpu1  ${cpubar cpu1}
${cpugraph cpu1 000000 A020F0}
NAME                  ${alignr}PID            ${alignr}CPU%          ${alignr}MEM%
${top name 1}    ${alignr}${top pid 1}        ${alignr}${top cpu 1}            ${alignr}${top mem 1}
${top name 2}    ${alignr}${top pid 2}        ${alignr}${top cpu 2}            ${alignr}${top mem 2}
${top name 3}    ${alignr}${top pid 3}        ${alignr}${top cpu 3}            ${alignr}${top mem 3}
${top name 4}    ${alignr}${top pid 4}        ${alignr}${top cpu 4}            ${alignr}${top mem 4}

${color purple}MEMORY / DISK ${hr 2}$color
RAM:   $memperc%   ${membar 6}$color
Swap:  $swapperc%   ${swapbar 6}$color
Root:  ${fs_free_perc /}%   ${fs_bar 6 /}$color 

${color purple}NETWORK ${hr 2}$color 
Interface: eth0   Address: ${addr eth0} 
Down: $color${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
${downspeedgraph eth0 25,140 000000 A020F0} ${alignr}${upspeedgraph eth0 
25,140 000000 A020F0}$color
Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}
Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768 
61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}

${color purple}BATTERY ${hr 2}$color
Status: ${battery} ${alignr}${battery_time}

${color purple}LOGGING ${hr 2}$color
${execi 30 tail -n3 /var/log/messages | fold -w50}

${color purple}FORTUNE ${hr 2}$color
${execi 120 fortune -s | fold -w50}