Wenn dich/euch der Code interessiert, dann gerne 😃
Also der Code basiert auf einem Code, den ich auf einer Website gesehen habe, habe ihn aber etwas modifiziert 😛
Das "ArchLinux" ist allerdings manuell hinzugefügt, normalerweise stand an dieser Stelle der Hostname, das habe ich so angepasst.
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type overide
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
background no #Transparent background.
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer right
use_xft yes
# Update interval in seconds
update_interval .5
# Minimum size of text area
minimum_size 260 5
# Draw shades?
draw_shades no
# Draw borders around graphs
draw_graph_borders no
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
xftfont Eurostile:size=10
xftalpha 0.7
#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 30
gap_y 40
# stuff after 'TEXT' will be formatted on screen
TEXT
${font arial black:size=12}${color green}SYSTEM${color}${font arial
black:size=11}INFORMATION
${image ~/Bilder/arch.png -p 0,2 -s 64x64}
#${hr 2}$color$font
#${color green}${font openlogos:size=30}T$color${font}
${voffset -38}${goto 40}$sysname $kernel on $machine${voffset -18}
${voffset 16}${goto 40}${color red}ArchLinux
${color white} ${font arial black:size=9}UP: $font${goto 70}$uptime
${voffset -18}
${voffset 6}${font arial black:size=30}${time %e}$font ${voffset
-17}${time %A, }${time %B} ${time %G}
${voffset -2}${goto 65}${font arial black:size=10} ${time %I:%M:%S %p}
${font arial black:size=12}${color green}CPU${color}${font arial
black:size=11}INFORMATION${color green} ${hr 2}$color$font
${font arial black:size=9}USAGE (AVG): $font${cpu cpu0}%
${cpugraph cpu0 303030 C0C0C0}
${font arial black:size=9}CORE 1: $font${cpu cpu1}% $alignr ${font arial
black:size=9}CORE 2: $font${cpu cpu2}%
${cpugraph cpu1 25,140 303030 C0C0C0} $alignr${cpugraph cpu2 25,140
303030 C0C0C0}
${font arial black:size=12}${color green}MEMORY${color}${font arial
black:size=11}INFORMATION${color green} ${hr 2}$color$font
${font arial black:size=9}RAM: $font$memperc% ${alignr}$mem ${font arial
black:size=9}/ $font$memmax
${membar 4}
${font arial black:size=9}SWAP: $font$swapperc% ${alignr}$swap ${font
arial black:size=9}/ $font$swapmax
${swapbar 4}
${font arial black:size=12}${color green}DISK${color}${font arial
black:size=11}INFORMATION${color green} ${hr 2}$color$font
${font arial black:size=9}VOLUME${goto 116}TYPE${goto 180}%FREE${alignr
1}SIZE$font
${font arial black:size=9}ROOT:$font${goto 120}${fs_type /}${goto
190}${fs_free_perc /}%${alignr}${fs_size /}
${fs_bar 4 /}$color
#${if_mounted /home/iplaythisgame/stuff/disk0}${font arial
#black:size=9}DISK0:$font${goto 120}${fs_type
#/home/iplaythisgame/stuff/disk0}${goto 190}${fs_free_perc
#/home/iplaythisgame/stuff/disk0}%${alignr 1}${fs_size
#/home/iplaythisgame/stuff/disk0}
#${fs_bar 4 /home/iplaythisgame/stuff/disk0}$color $endif
#${if_mounted /home/iplaythisgame/stuff/disk1}${font arial
#black:size=9}DISK1:$font${goto 120}${fs_type
#/home/iplaythisgame/stuff/disk1}${goto 190}${fs_free_perc
#/home/iplaythisgame/stuff/disk1}%${alignr 1}${fs_size
#/home/iplaythisgame/stuff/disk1}
#${fs_bar 4 /home/iplaythisgame/stuff/disk1}$color $endif
#${if_mounted /home/iplaythisgame/stuff/disk2}${font arial
#black:size=9}DISK2:$font${goto 120}${fs_type
#/home/iplaythisgame/stuff/disk2}${goto 190}${fs_free_perc
#/home/iplaythisgame/stuff/disk2}%${alignr 1}${fs_size
#/home/iplaythisgame/stuff/disk2}
#${fs_bar 4 /home/iplaythisgame/stuff/disk2}$color $endif
${font arial black:size=12}${color green}NETWORK${color}${font arial
black:size=11}INFORMATION${color green} ${hr 2}$color$font
${font arial black:size=9}LOCAL:$font${addr eth0} $alignr ${color}
${font arial black:size=9}EXTERNAL:$font${execi 14400 wget -O -
http://whatismyip.org/ | tail}${color}
${font arial black:size=9}DOWN: $font$color${downspeed eth0} k/s
${alignr}${font arial black:size=9}UP: $font${upspeed eth0} k/s
${downspeedgraph eth0 25,140 303030 C0C0C0} ${alignr}${upspeedgraph eth0
25,140 303030 C0C0C0}$color
${font arial black:size=9}TOTAL: $font${totaldown eth0} ${alignr}${font
arial black:size=9}TOTAL: $font${totalup eth0}
${font arial black:size=9}INBOUND: $font${tcp_portmon 1 32767 count}
${font arial black:size=9}OUTBOUND: $font${tcp_portmon 32768
61000 count}${alignr}${font arial black:size=9}TOTAL: $font${tcp_portmon
1 65535 count}
${color green}${hr 2}$color
${color green}${hr 2}$color
${font arial black:size=9}GMAIL: ${color green}${texeci 60 perl
~/scripts/gmail.pl n} ${color}new message(s)
${execi 60 perl ~/scripts/gmail.pl s}