Picture one with this code:
Code:
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
#use_xft yes
xftfont Samanata
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 ace770
own_window_colour black
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 20
#${color blue}FORTUNE ${hr 2}$color
#${execi 120 fortune -s | fold -w50}
#${color blue}LOGGING ${hr 2}$color
#${execi 30 tail -n3 /var/log/messages | fold -w50}
# stuff after 'TEXT' will be formatted on screen
TEXT
${alignc}${font times:size=26}${time %H:%M:%S}${font}
${alignc}${time %A, %d.%m.%Y}
$color
${color #5397d6}SYSTEM ${hr 2}$color
${voffset 4}UpTime: ${alignr}${color }$uptime
${voffset 2}Kern: ${alignr}$kernel
${voffset 2}CPU: ${cpu}% ${alignr 1}${cpubar 6,80}
${cpugraph 000000 ffffff}
Intel Atom N270 ${alignr} ${alignr}${freq}MHz ${acpitemp}C
${voffset 2}RAM: $memperc% ${alignc} $mem${alignr 7} ${membar 6,80}
${voffset 2}${alignc -44}CPU% ${alignr}MEM%
${voffset 2}${top_mem name 1}${alignr}${top_mem cpu 1} ${top_mem mem 1}
${voffset 2}${top_mem name 2}${alignr}${top_mem cpu 2} ${top_mem mem 2}
${voffset 2}${top_mem name 3}${alignr}${top_mem cpu 3} ${top_mem mem 3}
${voffset 2}${top_mem name 4}${alignr}${top_mem cpu 4} ${top_mem mem 4}
${voffset 6}${color #5397d6}STORAGE ${hr 2}$color
${voffset 2}HD: ${voffset 0}${fs_free /home}/${fs_size /home} ${alignr 1}${fs_bar 6,50 /home}
${if_mounted /media/DATA}${voffset 2}SD/USB: ${voffset 0}${fs_free /media/DATA}/${fs_size /media/DATA} ${alignr}${fs_bar 6,50 /media/DATA}${endif}
${color #5397d6}NETWORK ${hr 2}$color
${voffset 2}Upload: ${alignr}${upspeedf eth2} KB/s
${voffset 2}Download: ${alignr}${downspeedf eth2} KB/s
The i only change in picture two:
to
Code:
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal
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 1.0
# Minimum size of text area
minimum_size 186 0
maximum_width 220 0
# Draw shades?
draw_shades no
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
use_xft yes
xftfont Samanata
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 ace770
own_window_colour black
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 20
#${color blue}FORTUNE ${hr 2}$color
#${execi 120 fortune -s | fold -w50}
#${color blue}LOGGING ${hr 2}$color
#${execi 30 tail -n3 /var/log/messages | fold -w50}
# stuff after 'TEXT' will be formatted on screen
TEXT
${alignc}${font times:size=26}${time %H:%M:%S}${font}
${alignc}${time %A, %d.%m.%Y}
$color
${color #5397d6}SYSTEM ${hr 2}$color
${voffset 4}UpTime: ${alignr}${color }$uptime
${voffset 2}Kern: ${alignr}$kernel
${voffset 2}CPU: ${cpu}% ${alignr 1}${cpubar 6,80}
${cpugraph 000000 ffffff}
Intel Atom N270 ${alignr} ${alignr}${freq}MHz ${acpitemp}C
${voffset 2}RAM: $memperc% ${alignc} $mem${alignr 7} ${membar 6,80}
${voffset 2}${alignc -44}CPU% ${alignr}MEM%
${voffset 2}${top_mem name 1}${alignr}${top_mem cpu 1} ${top_mem mem 1}
${voffset 2}${top_mem name 2}${alignr}${top_mem cpu 2} ${top_mem mem 2}
${voffset 2}${top_mem name 3}${alignr}${top_mem cpu 3} ${top_mem mem 3}
${voffset 2}${top_mem name 4}${alignr}${top_mem cpu 4} ${top_mem mem 4}
${voffset 6}${color #5397d6}STORAGE ${hr 2}$color
${voffset 2}HD: ${voffset 0}${fs_free /home}/${fs_size /home} ${alignr 1}${fs_bar 6,50 /home}
${if_mounted /media/DATA}${voffset 2}SD/USB: ${voffset 0}${fs_free /media/DATA}/${fs_size /media/DATA} ${alignr}${fs_bar 6,50 /media/DATA}${endif}
${color #5397d6}NETWORK ${hr 2}$color
${voffset 2}Upload: ${alignr}${upspeedf eth2} KB/s
${voffset 2}Download: ${alignr}${downspeedf eth2} KB/s
See: in picture two-times (clock) is recognized, but i lost default font and size is too big
Bookmarks