Blob


1 # torsmo configuration
3 # set to yes if you want tormo to be forked in the background
4 background yes
5 #background no
7 #use_xft
8 #xftfont fixed-11
10 # X font used, you can pick one with program xfontsel
11 #font 5x7
12 #font -*-arial-*-*-*-*-*-*-*-*-*-*-*-*
13 #font monospace-11
14 font 6x10
15 #font 7x13
16 #font 8x13
17 #font 9x15
18 # font *mintsmild.se*
19 # font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
21 # mail spool
22 mail_spool $MAIL
24 # Update interval in seconds
25 update_interval 3.0
27 # Create own window instead of using desktop (required in nautilus)
28 #own_window no
30 # Minimum size of text area
31 #minimum_size 280 5
33 # Draw shades?
34 #draw_shades yes
36 # Draw outlines?
37 #draw_outline yes
39 # Draw borders around text
40 #draw_borders yes
42 # Stippled borders?
43 #stippled_borders 8
45 # border margins
46 #border_margin 4
48 # border width
49 #border_width 1
51 # Default colors and also border colors
52 #default_color white
53 #default_shade_color black
54 #default_outline_color black
56 # Text alignment, other possible values are commented
57 #alignment top_left
58 #alignment top_right
59 #alignment bottom_left
60 alignment bottom_right
62 # Gap between borders of screen and text
63 gap_x 5
64 gap_y 5
66 # Subtract file system buffers from used memory?
67 no_buffers yes
69 # set to yes if you want all text to be in uppercase
70 #uppercase no
72 # Possible variables to be used:
73 #
74 # Variable Arguments Description
75 # acpiacadapter ACPI ac adapter state.
76 ## acpifan ACPI fan state
77 # acpitemp ACPI temperature.
78 # battery (name) Remaining capasity in ACPI or APM
79 # battery. ACPI battery name can be
80 # given as argument (default is BAT0).
81 # buffers Amount of memory buffered
82 # cached Amount of memory cached
83 # color (color) Change drawing color to color
84 # cpu CPU usage in percents
85 # cpubar (height) Bar that shows CPU usage, height is
86 # bar's height in pixels
87 # downspeed net Download speed in kilobytes
88 # downspeedf net Download speed in kilobytes with one
89 # decimal
90 # exec shell command Executes a shell command and displays
91 # the output in torsmo. warning: this
92 # takes a lot more resources than other
93 # variables. I'd recommend coding wanted
94 # behaviour in C and posting a patch :-).
95 # execi interval, shell Same as exec but with specific interval.
96 # command Interval can't be less than
97 # update_interval in configuration.
98 # fs_bar (height), (fs) Bar that shows how much space is used on
99 # a file system. height is the height in
100 # pixels. fs is any file on that file
101 # system.
102 # fs_free (fs) Free space on a file system available
103 # for users.
104 # fs_free_perc (fs) Free percentage of space on a file
105 # system available for users.
106 # fs_size (fs) File system size
107 # fs_used (fs) File system used space
108 # hr (height) Horizontal line, height is the height in
109 # pixels
110 # i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
111 # may be omitted if you have only one I2C
112 # device. type is either in (or vol)
113 # meaning voltage, fan meaning fan or temp
114 # meaning temperature. n is number of the
115 # sensor. See /sys/bus/i2c/devices/ on
116 # your local computer.
117 # kernel Kernel version
118 # loadavg (1), (2), (3) System load average, 1 is for past 1
119 # minute, 2 for past 5 minutes and 3 for
120 # past 15 minutes.
121 # machine Machine, i686 for example
122 # mails Mail count in mail spool. You can use
123 # program like fetchmail to get mails from
124 # some server using your favourite
125 # protocol. See also new_mails.
126 # mem Amount of memory in use
127 # membar (height) Bar that shows amount of memory in use
128 # memmax Total amount of memory
129 # memperc Percentage of memory in use
130 # new_mails Unread mail count in mail spool.
131 # nodename Hostname
132 # outlinecolor (color) Change outline color
133 # pre_exec shell command Executes a shell command one time before
134 # torsmo displays anything and puts output
135 # as text.
136 # processes Total processes (sleeping and running)
137 # running_processes Running processes (not sleeping),
138 # requires Linux 2.6
139 # shadecolor (color) Change shading color
140 # stippled_hr (space), Stippled (dashed) horizontal line
141 # (height)
142 # swapbar (height) Bar that shows amount of swap in use
143 # swap Amount of swap in use
144 # swapmax Total amount of swap
145 # swapperc Percentage of swap in use
146 # sysname System name, Linux for example
147 # temp1 Temperature #1 from i2c-sensors, same as
148 # ${i2c temp 1}
149 # temp2 Temperature #2 from i2c-sensors, same as
150 # ${i2c temp 2}
151 # time (format) Local time, see man strftime to get more
152 # information about format
153 # totaldown net Total download, overflows at 4 GB on
154 # Linux with 32-bit arch and there doesn't
155 # seem to be a way to know how many times
156 # it has already done that before torsmo
157 # has started.
158 # totalup net Total upload, this one too, may overflow
159 # updates Number of updates (for debugging)
160 # upspeed net Upload speed in kilobytes
161 # upspeedf net Upload speed in kilobytes with one
162 # decimal
163 # uptime Uptime
164 # uptime_short Uptime in a shorter format
167 # variable is given either in format $variable or in ${variable}. Latter
168 # allows characters right after the variable and must be used in network
169 # stuff because of an argument
171 # stuff after 'TEXT' will be formatted on screen
172 #TEXT
173 #${color grey}Temperatures:
174 # CPU:$color ${i2c temp 1}°C${color grey} - MB:$color ${i2c temp 2}°C
175 #$nodename.staatsfeind.org - $sysname $kernel on $machine
176 #${color grey}Battery$color $battery
177 TEXT
178 $cpu% ${color green}$battery$color ${color grey} ${time %a, %d.%m.%Y - %H:%M}