update the default config along with the syntax files
[monky] / doc / conky.conf
1 # Conky sample configuration
2 #
3 # the list of variables has been removed from this file in favour
4 # of keeping the documentation more maintainable.
5 # Check http://conky.sf.net for an up-to-date-list.
6
7 # set to yes if you want Conky to be forked in the background
8 background no
9
10 # X font when Xft is disabled, you can pick one with program xfontsel
11 #font 5x7
12 #font 6x10
13 #font 7x13
14 #font 8x13
15 #font 9x15
16 #font *mintsmild.se*
17 #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
18
19 # Use Xft?
20 use_xft yes
21
22 # Xft font when Xft is enabled
23 xftfont Bitstream Vera Sans Mono:size=8
24
25 # Text alpha when using Xft
26 xftalpha 0.8
27
28 # Print everything to stdout?
29 # out_to_console no
30
31 # MPD host/port
32 # mpd_host localhost
33 # mpd_port 6600
34 # mpd_password tinker_bell
35
36 # Print everything to console?
37 # out_to_console no
38
39 # mail spool
40 mail_spool $MAIL
41
42 # Update interval in seconds
43 update_interval 5.0
44
45 # This is the number of times Conky will update before quitting.
46 # Set to zero to run forever.
47 total_run_times 0
48
49 # Create own window instead of using desktop (required in nautilus)
50 own_window yes
51
52 # If own_window is yes, you may use type normal, desktop, dock or override
53 own_window_type normal
54
55 # Use pseudo transparency with own_window?
56 own_window_transparent yes
57
58 # If own_window_transparent is set to no, you can set the background colour here
59 own_window_colour hotpink
60
61 # If own_window is yes, these window manager hints may be used
62 #own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
63
64 # Use double buffering (reduces flicker, may not work for everyone)
65 double_buffer yes
66
67 # Minimum size of text area
68 minimum_size 280 5
69
70 # Draw shades?
71 draw_shades yes
72
73 # Draw outlines?
74 draw_outline no
75
76 # Draw borders around text
77 draw_borders yes
78
79 # Draw borders around graphs
80 draw_graph_borders yes
81
82 # Stippled borders?
83 stippled_borders 8
84
85 # border margins
86 border_margin 4
87
88 # border width
89 border_width 1
90
91 # Default colors and also border colors
92 default_color white
93 default_shade_color black
94 default_outline_color black
95
96 # Text alignment, other possible values are commented
97 #alignment top_left
98 #alignment top_right
99 alignment bottom_left
100 #alignment bottom_right
101 #alignment none
102
103 # Gap between borders of screen and text
104 # same thing as passing -x at command line
105 gap_x 12
106 gap_y 12
107
108 # Subtract file system buffers from used memory?
109 no_buffers yes
110
111 # set to yes if you want all text to be in uppercase
112 uppercase no
113
114 # number of cpu samples to average
115 # set to 1 to disable averaging
116 cpu_avg_samples 2
117
118 # number of net samples to average
119 # set to 1 to disable averaging
120 net_avg_samples 2
121
122 # Force UTF8? note that UTF8 support required XFT
123 override_utf8_locale no
124
125 # Add spaces to keep things from moving about?  This only affects certain objects.
126 use_spacer none
127
128 # Shows the maximum value in scaled graphs.
129 show_graph_scale no
130
131 # Shows the time range covered by a graph.
132 show_graph_range no
133
134 # Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
135 #max_port_monitor_connections 256
136
137 # Maximum number of special things, e.g. fonts, offsets, aligns, etc.
138 #max_specials 512
139
140 # Maximum size of buffer for user text, i.e. below TEXT line.
141 #max_user_text 16384
142
143 # Timing interval for music player thread, e.g. mpd, audacious
144 #music_player_interval (update_interval is default)
145
146 # Strictness of if_up. One of: up, link or address. The later ones imply the further ones.
147 # Defaults to up.
148 #if_up_strictness address
149
150 # Output unit for all temperature related variables. Use either one of
151 # fahrenheit or celsius, defaults to celsius.
152 #temperature_unit celsius
153
154 # Templates to simplify stuff below 'TEXT'. The following example aids in
155 # displaying filesystem usage for a given partition and can be used below
156 # 'TEXT' like so:
157 # | ${template0 boot /dev/sda1}
158 # | ${template0 root /dev/sda3}
159 #template0 \1: ${fs_free_perc \2} ${fs_bar 4,100 \2} ${fs_free \2} / ${fs_used \2}
160
161 # Note on general syntax:
162 # variable is given either in format $variable or in ${variable}. Later
163 # allows characters right after the variable and must be used to pass
164 # parameters to the variable.
165
166 # stuff after 'TEXT' will be formatted on screen
167
168 TEXT
169 $nodename - $sysname $kernel on $machine
170 $stippled_hr
171 ${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
172 ${color lightgrey}CPU Usage:${color #cc2222} $cpu% ${cpubar}
173 ${color red}${cpugraph 0000ff 00ff00}
174 ${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% ${membar}
175 ${color lightgrey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar}
176 ${color lightgrey}Processes:$color $processes  ${color grey}Running:$color $running_processes
177 $color$stippled_hr
178 ${color lightgrey}Networking:
179  Down:${color #8844ee} ${downspeed eth0} k/s${color lightgrey} ${offset 80}Up:${color #22ccff} ${upspeed eth0} k/s
180 ${color #0000ff}${downspeedgraph eth0 32,150 ff0000 0000ff} ${color #22ccff}${upspeedgraph eth0 32,150 0000ff ff0000}
181 ${color lightgrey}File systems:
182  / $color${fs_used /}/${fs_size /} ${fs_bar /}
183 ${color #88aadd}MPD: ${alignc}$mpd_artist - $mpd_title
184 ${color #88aadd}$mpd_bar
185 ${color #88aadd}${alignc}$mpd_status
186 ${color}Name              PID     CPU%   MEM%
187 ${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
188 ${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
189 ${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
190 ${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
191 ${color}Mem usage
192 ${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
193 ${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
194 ${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
195 $stippled_hr
196 ${color #ddaa00}Port(s)${alignr}#Connections
197 $color Inbound: ${tcp_portmon 1 32767 count}  Outbound: ${tcp_portmon 32768 61000 count}${alignr}ALL: ${tcp_portmon 1 65535 count}
198 ${color #ddaa00}Inbound Connection ${alignr} Local Service/Port$color
199  ${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
200  ${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
201  ${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}
202  ${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3}
203  ${tcp_portmon 1 32767 rhost 4} ${alignr} ${tcp_portmon 1 32767 lservice 4}
204  ${tcp_portmon 1 32767 rhost 5} ${alignr} ${tcp_portmon 1 32767 lservice 5}
205 ${color #ddaa00}Outbound Connection ${alignr} Remote Service/Port$color
206  ${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
207  ${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
208  ${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
209  ${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
210  ${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}
211  ${tcp_portmon 32768 61000 rhost 5} ${alignr} ${tcp_portmon 32768 61000 rservice 5}