background yes use_xft yes xftfont sans:size=10 xftalpha 1 update_interval 1.0 total_run_times 0 own_window_argb_visual yes 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 0 1080 maximum_width 250 draw_shades no draw_outline no draw_borders no draw_graph_borders yes default_color white default_shade_color green default_outline_color white alignment top_right gap_x 30 gap_y 0 no_buffers no uppercase no cpu_avg_samples 2 override_utf8_locale yes default_color CCFF99 color11 051300 color1 CCFFCC color2 669933 color3 red color4 669933 color5 110000 color6 33CCCC color7 ffffff color8 CCFF99 color9 000000 color10 051300 #--- LUA --- #lua_load ~/winter.lua #lua_draw_hook_pre widgets TEXT ${color CCFFCC} ${voffset -10}${font Ubuntu:size=15}${time %A, %B %Y} ${color8}$hr ${color8}${font monospace:size=16}${execp cal -m | tail -n7 | head -n1}${color2} ${execp cal -m | tail -n6 | sed "s/`date +%e` \|`date +%e`$/\$\{color6}&\$\{color8\}/"} $hr ${font}${alignr} ${freq (0)} ${color1}ПРЦ 1 :${alignc}${font webdings: size=20}${if_match ${cpu cpu0} >0}${color1}${else}${color2}${endif}=${if_match ${cpu cpu0} >10}${color1}${else}${color2}${endif}=${if_match ${cpu cpu0} >20}${color1}${else}${color2}${endif}=${if_match ${cpu cpu0} >30}${color1}${else}${color2}${endif}=${if_match ${cpu cpu0} >40}${color1}${else}${color2}${endif}=${if_match ${cpu cpu0} >50}${color1}${else}${color2}${endif}=${if_match ${cpu cpu0} >60}${color1}${else}${color2}${endif}=${if_match ${cpu cpu0} >70}${color1}${else}${color2}${endif}=${if_match ${cpu cpu0} >80}${color3}${else}${color2}${endif}=${if_match ${cpu cpu0} >90}${color3}${else}${color4}${endif}=${font} ${color1}${alignr} ${freq (1)} ${color1}ПРЦ 2 :${alignc}${font webdings: size=15}${if_match ${cpu cpu1} >0}${color1}${else}${color2}${endif}=${if_match ${cpu cpu1} >10}${color1}${else}${color2}${endif}=${if_match ${cpu cpu1} >20}${color1}${else}${color2}${endif}=${if_match ${cpu cpu1} >30}${color1}${else}${color2}${endif}=${if_match ${cpu cpu1} >40}${color1}${else}${color2}${endif}=${if_match ${cpu cpu1} >50}${color1}${else}${color2}${endif}=${if_match ${cpu cpu1} >60}${color1}${else}${color2}${endif}=${if_match ${cpu cpu1} >70}${color1}${else}${color2}${endif}=${if_match ${cpu cpu1} >80}${color3}${else}${color2}${endif}=${if_match ${cpu cpu1} >90}${color3}${else}${color2}${endif}=${font} ${color1}${alignr} ${freq (2)} ${color1}ПРЦ 3 :${alignc}${font webdings: size=15}${if_match ${cpu cpu2} >0}${color1}${else}${color2}${endif}=${if_match ${cpu cpu2} >10}${color1}${else}${color2}${endif}=${if_match ${cpu cpu2} >20}${color1}${else}${color2}${endif}=${if_match ${cpu cpu2} >30}${color1}${else}${color2}${endif}=${if_match ${cpu cpu2} >40}${color1}${else}${color2}${endif}=${if_match ${cpu cpu2} >50}${color1}${else}${color2}${endif}=${if_match ${cpu cpu2} >60}${color1}${else}${color2}${endif}=${if_match ${cpu cpu2} >70}${color1}${else}${color2}${endif}=${if_match ${cpu cpu2} >80}${color3}${else}${color2}${endif}=${if_match ${cpu cpu2} >90}${color3}${else}${color2}${endif}=${font} ${color1}${alignr} ${freq (3)} ${color1}ПРЦ 4 :${alignc}${font webdings: size=15}${if_match ${cpu cpu3} >0}${color1}${else}${color2}${endif}=${if_match ${cpu cpu3} >10}${color1}${else}${color2}${endif}=${if_match ${cpu cpu3} >20}${color1}${else}${color2}${endif}=${if_match ${cpu cpu3} >30}${color1}${else}${color2}${endif}=${if_match ${cpu cpu3} >40}${color1}${else}${color2}${endif}=${if_match ${cpu cpu3} >50}${color1}${else}${color2}${endif}=${if_match ${cpu cpu3} >60}${color1}${else}${color2}${endif}=${if_match ${cpu cpu3} >70}${color1}${else}${color2}${endif}=${if_match ${cpu cpu3} >80}${color3}${else}${color2}${endif}=${if_match ${cpu cpu3} >90}${color3}${else}${color2}${endif}=${font} ${color1}${alignr}${mem} ${color1}ОЗУ :${alignc}${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}${alignr}${swap} ${color1}СВП :${alignc}${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}${alignr}${fs_used /} ${color1}РУТ :${alignc}${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}${alignr}${fs_used /home} ${color1}ХОМ :${alignc}${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}${alignr} ${upspeed ppp0} ${color1}ТУДА :${alignc}${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}${alignr} ${downspeed ppp0} ${color1}СЮДА :${alignc}${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} ${color green}${alignr}${hddtemp /dev/sda} ${color1}ХАРД ТМП :${alignc}${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} ${color green}${alignr} ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} ${color1}ВИДЕО TМП :${alignc}${font webdings: size=15}${if_match ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} >0}${color1}${else}${color2}${endif}=${if_match ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} >10}${color1}${else}${color2}${endif}=${if_match ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} >20}${color1}${else}${color2}${endif}=${if_match ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} >30}${color1}${else}${color2}${endif}=${if_match ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} >40}${color1}${else}${color2}${endif}=${if_match ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} >50}${color1}${else}${color2}${endif}=${if_match ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} >60}${color1}${else}${color2}${endif}=${if_match ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} >70}${color1}${else}${color2}${endif}=${if_match ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} >80}${color3}${else}${color2}${endif}=${if_match ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} >90}${color3}${else}${color2}${endif}=${font} ${color1}ЗДЕСЬ ${color yellow}${totaldown ppp0}${alignr}${color green}${totalup ppp0} ${color1}ТАМ ${voffset 10}${color1}$hr ${voffset 260}${color1}$hr ${color1}${voffset -20}${font Rina:size=80}${time %k:%M}