Blame


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