# --- Window Layout & Options --- #
own_window yes
own_window_colour brown
own_window_transparent yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
use_spacer right
use_xft yes
alignment top_right
gap_x 10
gap_y 45
# --- Colours, Sizes, Fonts & Margins --- #
update_interval 1.0
maximum_width 250
stippled_borders 3
border_margin 9
border_width 10
default_color white
# --- Text --- #
draw_outline no
draw_borders no
font Sans:size=8:weight=bold
uppercase no
draw_shades yes
override_utf8_locale yes
# Possible variables to be used:
#
# Variable Arguments Description
# acpiacadapter ACPI ac adapter state.
# acpifan ACPI fan state
# acpitemp ACPI temperature.
# adt746xcpu CPU temperature from therm_adt746x
# adt746xfan Fan speed from therm_adt746x
# battery (num) Remaining capasity in ACPI or APM
# battery. ACPI battery number can be
# given as argument (default is BAT0).
# buffers Amount of memory buffewhite
# cached Amount of memory cached
# color (color) Change drawing color to color
# cpu CPU usage in percents
# cpubar (height) Bar that shows CPU usage, height is
# bar's height in pixels
# downspeed net Download speed in kilobytes
# downspeedf net Download speed in kilobytes with one
# decimal
# exec shell command Executes a shell command and displays
# the output in torsmo. warning: this
# takes a lot more resources than other
# variables. I'd recommend coding wanted
# behaviour in C and posting a patch :-).
# execi interval, shell Same as exec but with specific interval.
# command Interval can't be less than
# update_interval in configuration.
# fs_bar (height), (fs) Bar that shows how much space is used on
# a file system. height is the height in
# pixels. fs is any file on that file
# system.
# fs_free (fs) Free space on a file system available
# for users.
# fs_free_perc (fs) Free percentage of space on a file
# system available for users.
# fs_size (fs) File system size
# fs_used (fs) File system used space
# hr (height) Horizontal line, height is the height in
# pixels
# i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
# may be omitted if you have only one I2C
# device. type is either in (or vol)
# meaning voltage, fan meaning fan or temp
# meaning temperature. n is number of the
# sensor. See /sys/bus/i2c/devices/ on
# your local computer.
# kernel Kernel version
# loadavg (1), (2), (3) System load average, 1 is for past 1
# minute, 2 for past 5 minutes and 3 for
# past 15 minutes.
# machine Machine, i686 for example
# mails Mail count in mail spool. You can use
# program like fetchmail to get mails from
# some server using your favourite
# protocol. See also new_mails.
# mem Amount of memory in use
# membar (height) Bar that shows amount of memory in use
# memmax Total amount of memory
# memperc Percentage of memory in use
# new_mails Unread mail count in mail spool.
# nodename Hostname
# outlinecolor (color) Change outline color
# pre_exec shell command Executes a shell command one time before
# torsmo displays anything and puts output
# as text.
# processes Total processes (sleeping and running)
# running_processes Running processes (not sleeping),
# requires Linux 2.6
# shadecolor (color) Change shading color
# stippled_hr (space), Stippled (dashed) horizontal line
# (height)
# swapbar (height) Bar that shows amount of swap in use
# swap Amount of swap in use
# swapmax Total amount of swap
# swapperc Percentage of swap in use
# sysname System name, Linux for example
# time (format) Local time, see man strftime to get more
# information about format
# totaldown net Total download, overflows at 4 GB on
# Linux with 32-bit arch and there doesn't
# seem to be a way to know how many times
# it has already done that before torsmo
# has started.
# totalup net Total upload, this one too, may overflow
# updates Number of updates (for debugging)
# upspeed net Upload speed in kilobytes
# upspeedf net Upload speed in kilobytes with one
# decimal
# uptime Uptime
# uptime_short Uptime in a shorter format
#
# seti_prog Seti@home current progress
# seti_progbar (height) Seti@home current progress bar
# seti_cwhiteit Seti@hoome total user cwhiteit
# график проца ${color }${alignc}${cpugraph 10,100 ffffff ffffff}${color}
TEXT
${font Sans:size=12:weight=bold}${color white} ${time %H:%M:%S}
${font Sans:size=9:weight=bold}${color #F10071}Процессор ${hr 2}$color
${font Arial:bold:size=9}${color #ffffff}${execi 99999 cat /proc/cpuinfo | grep "model name" -m1 | cut -d":" -f2 | cut -d" " -f2- | sed 's#Processor ##'}$font$color
${color #F10071}Частота:$color ${execi 20 sensors |grep "Core0 Temp" | cut -d" " -f4}$font$color$alignr${freq_g 2}ГГц ${color #c0ff3e}${execi 20 sensors |grep "Core1 Temp" | cut -d" " -f4} $color${alignr}${color #F10071}Процессов:$color $running_processes/ $processes
${font Sans:size=9:weight=bold}${color #F10071}Загрузка ЦП ${hr 2}$color
${color white}ЦП1 ${color white}${cpu cpu0}% ${color white}ЦП2 ${color white}${cpu cpu1}% $color
${cpugraph cpu0 25,120 000000 ffffff } ${cpugraph cpu1 25,120 000000 ffffff }
${font Sans:size=9:weight=bold}${color #F10071}TOP 10 Процессов (Загрузка ЦП) ${hr 2}$color${font Sans:size=9:weight=bold}${color #ffffff}
Название ${alignr}оператива ${alignr}ЦП $color
1. ${top name 1} ${alignr}${top_mem mem 1} ${alignr}${top cpu 1}
2. ${top name 2} ${alignr}${top_mem mem 2} ${alignr}${top cpu 2}
3. ${top name 3} ${alignr}${top_mem mem 3} ${alignr}${top cpu 3}
4. ${top name 4} ${alignr}${top_mem mem 4} ${alignr}${top cpu 4}
5. ${top name 5} ${alignr}${top_mem mem 5} ${alignr}${top cpu 5}
6. ${top name 6} ${alignr}${top_mem mem 6} ${alignr}${top cpu 6}
7. ${top name 7} ${alignr}${top_mem mem 7} ${alignr}${top cpu 7}
8. ${top name 8} ${alignr}${top_mem mem 8} ${alignr}${top cpu 8}
9. ${top name 9} ${alignr}${top_mem mem 9} ${alignr}${top cpu 9}
10. ${top name 10} ${alignr}${top_mem mem 10} ${alignr}${top cpu 10}
${font Sans:size=9:weight=bold}${color #F10071}ОЗУ и SWAP ${hr 2}$color${font Sans:size=8:weight=bold}
${color white}ОЗУ$color ${memperc}% ${color #ffffff}${membar 3.180}
${color white}SWAP$color ${swapperc}% ${color #ffffff}${swapbar 3.180}
${font Sans:size=9:weight=bold}${color #F10071}Свободное пространство разделов${hr 2}$color${font Sans:size=8:weight=bold}
${color white}Home$color ${fs_free_perc /home}%$alignr${fs_free /home}/ ${fs_size /home}
${color #ffffff}${fs_bar 3 /home}
${color white}Media$color ${fs_free_perc /media}%$alignr${fs_free /media/media}/ ${fs_size /media/media}
${color #ffffff}${fs_bar 3 /media/media}
${font Sans:size=9:weight=bold}${color #F10071}Сеть (IP: ${addr eth0}) ${hr 2}$color${font Sans:size=8:weight=bold}
${color white}Скорость передачи данных
${color white}Вход.$color ${downspeed eth0}Кб/с${alignr}${color white}Исходящ.$color${alignr} ${upspeed eth0}Кб/с
${downspeedgraph eth0 25,120 000000 00ff00} ${alignr}${upspeedgraph eth0 25,120 000000 ff0000}$color
${font Sans:size=9:weight=bold}${color #F10071}Трафик ${hr 2}$color${font Sans:size=8:weight=bold}
${color white}Входящ. ${totaldown eth0} ${alignr}${color white}Исходящ.${alignr} ${totalup eth0}