Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as Bash by ratte ( 15 years ago )
background yes
use_xft yes
xftfont sans:size=10
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 100 100
maximum_width 180
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color white
alignment top_right
gap_x 10
gap_y 10
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
default_color white
color1 DEB887
color2 333300
color3 CC0000
color4 993300
color5 110000
#--- LUA ---
lua_load ~/olgmen5.lua
lua_draw_hook_pre widgets
TEXT
${voffset -40}
${color ffffff}
${font DejaVu sans mono:size=10}${execpi 10800 DJS=`date +%_d`; cal | sed 's/^/ /' | sed s/" $DJS "/" "'${color3}'"$DJS"'${color CCFF66}'" "/}
${font}
${voffset -15}
${goto 120}${color1}
${voffset 150}
${color1}${if_empty ${exec /home/ratte/scripts/eth.sh}} $endif
${exec /home/ratte/Programs/bin/skb 1}
${voffset}
${color1}ПРЦ
${font webdings: size=10}${if_match ${cpu} >0}${color1}${else}${color2}${endif}=${if_match ${cpu} >10}${color1}${else}${color2}${endif}=${if_match ${cpu} >20}${color1}${else}${color2}${endif}=${if_match ${cpu} >30}${color1}${else}${color2}${endif}=${if_match ${cpu} >40}${color1}${else}${color2}${endif}=${if_match ${cpu} >50}${color1}${else}${color2}${endif}=${if_match ${cpu} >60}${color1}${else}${color2}${endif}=${if_match ${cpu} >70}${color1}${else}${color2}${endif}=${if_match ${cpu} >80}${color3}${else}${color2}${endif}=${if_match ${cpu} >90}${color3}${else}${color2}${endif}=${font}
${color1}ОЗУ
${font webdings: size=15}${if_match ${memperc} >0}${color1}${else}${color2}${endif}=${if_match ${memperc} >10}${color1}${else}${color2}${endif}=${if_match ${memperc} >20}${color1}${else}${color2}${endif}=${if_match ${memperc} >30}${color1}${else}${color2}${endif}=${if_match ${memperc} >40}${color1}${else}${color2}${endif}=${if_match ${memperc} >50}${color1}${else}${color2}${endif}=${if_match ${memperc} >60}${color1}${else}${color2}${endif}=${if_match ${memperc} >70}${color1}${else}${color2}${endif}=${if_match ${memperc} >80}${color3}${else}${color2}${endif}=${if_match ${memperc} >90}${color3}${else}${color2}${endif}=${font}
${color1}СВП
${font webdings: size=15}${if_match ${swapperc} >0}${color1}${else}${color2}${endif}=${if_match ${swapperc} >10}${color1}${else}${color2}${endif}=${if_match ${swapperc} >20}${color1}${else}${color2}${endif}=${if_match ${swapperc} >30}${color1}${else}${color2}${endif}=${if_match ${swapperc} >40}${color1}${else}${color2}${endif}=${if_match ${swapperc} >50}${color1}${else}${color2}${endif}=${if_match ${swapperc} >60}${color1}${else}${color2}${endif}=${if_match ${swapperc} >70}${color1}${else}${color2}${endif}=${if_match ${swapperc} >80}${color3}${else}${color2}${endif}=${if_match ${swapperc} >90}${color3}${else}${color2}${endif}=${font}
${color1}ПЗУ-РУТ
${font webdings: size=15}${if_match ${fs_used_perc /} >0}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /} >10}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /} >20}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /} >30}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /} >40}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /} >50}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /} >60}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /} >70}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /} >80}${color3}${else}${color2}${endif}=${if_match ${fs_used_perc /} >90}${color3}${else}${color2}${endif}=${font}
${color1}ПЗУ-ХОМ
${font webdings: size=15}${if_match ${fs_used_perc /home} >0}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /home} >10}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /home} >20}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /home} >30}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /home} >40}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /home} >50}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /home} >60}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /home} >70}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /home} >80}${color3}${else}${color2}${endif}=${if_match ${fs_used_perc /home} >90}${color3}${else}${color2}${endif}=${font}
${color1}ТУДА ${alignc} ${upspeed ppp0}
${font webdings: size=15}${if_match ${upspeedf ppp0} >0}${color1}${else}${color2}${endif}=${if_match ${upspeedf ppp0} >10}${color1}${else}${color2}${endif}=${if_match ${upspeedf ppp0} >20}${color1}${else}${color2}${endif}=${if_match ${upspeedf ppp0} >30}${color1}${else}${color2}${endif}=${if_match ${upspeedf ppp0} >40}${color1}${else}${color2}${endif}=${if_match ${upspeedf ppp0} >50}${color1}${else}${color2}${endif}=${if_match ${upspeedf ppp0} >60}${color1}${else}${color2}${endif}=${if_match ${upspeedf ppp0} >70}${color1}${else}${color2}${endif}=${if_match ${upspeedf ppp0} >80}${color3}${else}${color2}${endif}=${if_match ${upspeedf ppp0} >90}${color3}${else}${color2}${endif}=${font}
${color1}СЮДА ${alignc} ${downspeed ppp0}
${font webdings: size=15}${if_match ${downspeedf ppp0} >0}${color1}${else}${color2}${endif}=${if_match ${downspeedf ppp0} >10}${color1}${else}${color2}${endif}=${if_match ${downspeedf ppp0} >20}${color1}${else}${color2}${endif}=${if_match ${downspeedf ppp0} >30}${color1}${else}${color2}${endif}=${if_match ${downspeedf ppp0} >40}${color1}${else}${color2}${endif}=${if_match ${downspeedf ppp0} >50}${color1}${else}${color2}${endif}=${if_match ${downspeedf ppp0} >60}${color1}${else}${color2}${endif}=${if_match ${downspeedf ppp0} >70}${color1}${else}${color2}${endif}=${if_match ${downspeedf ppp0} >80}${color3}${else}${color2}${endif}=${if_match ${downspeedf ppp0} >90}${color3}${else}${color2}${endif}=${font}
${color1}ТЖД
${font webdings: size=15}${if_match ${hddtemp /dev/sda} >0}${color1}${else}${color2}${endif}=${if_match ${hddtemp /dev/sda} >10}${color1}${else}${color2}${endif}=${if_match ${hddtemp /dev/sda} >20}${color1}${else}${color2}${endif}=${if_match ${hddtemp /dev/sda} >30}${color1}${else}${color2}${endif}=${if_match ${hddtemp /dev/sda} >40}${color1}${else}${color2}${endif}=${if_match ${hddtemp /dev/sda} >50}${color1}${else}${color2}${endif}=${if_match ${hddtemp /dev/sda} >60}${color1}${else}${color2}${endif}=${if_match ${hddtemp /dev/sda} >70}${color1}${else}${color2}${endif}=${if_match ${hddtemp /dev/sda} >80}${color3}${else}${color2}${endif}=${if_match ${hddtemp /dev/sda} >90}${color3}${else}${color2}${endif}=${font}
${color1}ТПРЦ
${font webdings: size=15}${if_match ${acpitemp} >0}${color1}${else}${color2}${endif}=${if_match ${acpitemp} >10}${color1}${else}${color2}${endif}=${if_match ${acpitemp} >20}${color1}${else}${color2}${endif}=${if_match ${acpitemp} >30}${color1}${else}${color2}${endif}=${if_match ${acpitemp} >40}${color1}${else}${color2}${endif}=${if_match ${acpitemp} >50}${color1}${else}${color2}${endif}=${if_match ${acpitemp} >60}${color1}${else}${color2}${endif}=${if_match ${acpitemp} >70}${color1}${else}${color2}${endif}=${if_match ${acpitemp} >80}${color3}${else}${color2}${endif}=${if_match ${acpitemp} >90}${color3}${else}${color2}${endif}=${font}
${color1}БАТ
${font webdings: size=15}${if_match ${battery_percent BAT0} >0}${color4}${else}${color2}${endif}=${if_match ${battery_percent BAT0} >10}${color4}${else}${color2}${endif}=${if_match ${battery_percent BAT0} >20}${color4}${else}${color2}${endif}=${if_match ${battery_percent BAT0} >30}${color4}${else}${color2}${endif}=${if_match ${battery_percent BAT0} >40}${color4}${else}${color2}${endif}=${if_match ${battery_percent BAT0} >50}${color4}${else}${color2}${endif}=${if_match ${battery_percent BAT0} >60}${color4}${else}${color2}${endif}=${if_match ${battery_percent BAT0} >70}${color4}${else}${color2}${endif}=${if_match ${battery_percent BAT0} >80}${color4}${else}${color2}${endif}=${if_match ${battery_percent BAT0} >90}${color4}${else}${color2}${endif}=${font}
${color4}арбайт ${uptime}
Revise this Paste