aboutsummaryrefslogtreecommitdiff
path: root/conkyrc.dot.link
blob: 23a0ead2d7ad7c2b45eb79db71604a657e4e2f89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
#
# conky configuration
#
# Resources:
# http://dancingpenguinsoflight.com/2009/01/gorgeous-and-useful-information-configuring-conky/
# http://cristalinux.blogspot.com.br/2011/03/some-conky-favorites-of-mine_04.html
# http://desktopspotting.com/26/best-conky-configs-for-linux-desktop/
# http://www.linuxandlife.com/2011/09/beautiful-conky-linux.html

# set to yes if you want conky to be forked in the background
background yes

# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
#xftfont courier-12
xftfont Terminus:size=8

# Text alpha when using Xft
#xftalpha 0.8

# mail spool
#mail_spool $MAIL

# Update interval in seconds
update_interval 5.0

# Create own window instead of using desktop (required in nautilus)
own_window no

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
#minimum_size 280 5

# Draw shades?
#draw_shades yes

# Draw outlines?
#draw_outline no

# Draw borders around text
#draw_borders yes

# Stippled borders?
#stippled_borders 8

# border margins
#border_margin 4

# border width
#border_width 1

# Default colors and also border colors
#default_color white
#default_shade_color black
#default_outline_color black

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
#gap_x 30
#gap_y 25
gap_x 20
gap_y 30

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# boinc (seti) dir
#seti_dir /usr/local/seti

# 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 buffered                
#  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_credit                       Seti@hoome total user credit

#seti_progbar

# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument

# stuff after 'TEXT' will be formatted on screen

#${color grey}Mails: ${color}$mails${color grey} New: ${color}$new_mails${color grey}
#${color grey}Temperatures:
# CPU:$color ${i2c temp 1}�C${color grey} - MB:$color ${i2c temp 2}�C

# feed parser
# $color${execi 900 ~/.conky/scripts/feed_parser/feed_parser.sh}

TEXT
$nodename - $sysname on $machine
$stippled_hr
${execpi 3600 xconky battery }
${color grey}Uptime$color $uptime
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 6}
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 6}
${color grey}${memgraph 000000 7f8ed3 -t}
${color grey}CPU Usage:$color $cpu% ${cpubar 6}
${color grey}CPU Frequency:$color $freq MHz
${color grey}${cpugraph 000000 7f8ed3 -t}
${color grey}Load average:$color $loadavg
${color grey}${loadgraph 000000 7f8ed3}
${color grey}Disk I/O:$color $diskio
${color grey}${diskiograph 000000 7f8ed3}
$color$stippled_hr
${color grey}Networking:
${if_up eth0}${color grey} eth0:  Up:$color ${upspeed eth0} k/s${color grey} - Down:$color ${downspeed eth0} k/s
${color grey}${downspeedgraph eth0 32,150 000000 7f8ed3 -l} $alignr${color grey}${upspeedgraph eth0 32,150 000000 7f8ed3 -l}${endif}
${if_up wlan0}${color grey} wlan0: Up:$color ${upspeed wlan0} k/s${color grey} - Down:$color ${downspeed wlan0} k/s
${color grey}${downspeedgraph wlan0 32,150 000000 7f8ed3 -l} $alignr${color grey}${upspeedgraph wlan0 32,150 000000 7f8ed3 -l}${endif}
${if_up ppp0}${color grey} ppp0: Up:$color ${upspeed ppp0} k/s${color grey} - Down:$color ${downspeed ppp0} k/s
${color grey}${downspeedgraph ppp0 32,150 000000 7f8ed3 -l} $alignr${color grey}${upspeedgraph ppp0 32,150 000000 7f8ed3 -l}${endif}
${if_up tun0}${color grey} tun0: Up:$color ${upspeed tun0} k/s${color grey} - Down:$color ${downspeed tun0} k/s
${color grey}${downspeedgraph tun0 32,150 000000 7f8ed3 -l} $alignr${color grey}${upspeedgraph tun0 32,150 000000 7f8ed3 -l}${endif}
$color$stippled_hr

${color grey}File systems:
 / $color${fs_free /}/${fs_size /} ${fs_bar 6 /}
 /var $color${fs_free /var}/${fs_size /var} ${fs_bar 6 /var}
 ${execpi 3600 xconky fs_home }
#${color grey}syslog${hr 2}${color}
#${execi 30 tail -n3 /var/log/daemon | fold -w50}
#${color grey}Fortune${hr 2}${color}
#${execi 240 fortune -s | fold -w50}
$color$stippled_hr

${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes
${color grey}Processes by mem usage${hr 2}${color}
${color} Name ${alignr} PID CPU% MEM%
${color} ${top_mem name 1} ${alignr} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem    mem 1}
${color} ${top_mem name 2} ${alignr} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem    mem 2}
 ${top_mem name 3} ${alignr} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
 ${top_mem name 4} ${alignr} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}

${execpi 120 [ -e ~/.reminders ] && remind ~/.reminders | grep -v '^No reminders.$' | sed -e '/^$/d'}