rev |
line source |
pankso@1017
|
1 # /etc/conky/conky.conf: SliTaz Conky default configuration file.
|
pankso@1017
|
2 #
|
domcox@15528
|
3 # For configuration settings, please see:
|
domcox@15528
|
4 # http://conky.sourceforge.net/config_settings.html
|
domcox@15528
|
5 #
|
domcox@15528
|
6 # For values to display, please see:
|
domcox@15528
|
7 # http://conky.sourceforge.net/variables.html
|
domcox@15528
|
8 #
|
pankso@1017
|
9
|
domcox@15528
|
10 # maintain spacing between certain elements (mono fonts)
|
domcox@15528
|
11 use_spacer none
|
domcox@15528
|
12
|
domcox@15528
|
13 # set to yes if you want conky to be forked in the background
|
pankso@1017
|
14 background no
|
pankso@1017
|
15
|
domcox@15528
|
16 # Xft font when Xft is enabled
|
domcox@15528
|
17 use_xft yes
|
domcox@15528
|
18 xftfont Liberation Sans-9
|
pankso@1017
|
19
|
domcox@15528
|
20 # Text alpha when using Xft
|
domcox@15528
|
21 xftalpha 1
|
domcox@15528
|
22
|
domcox@15528
|
23 # Update interval in seconds
|
domcox@15528
|
24 update_interval 2.0
|
domcox@15528
|
25 update_interval_on_battery 5.0
|
domcox@15528
|
26
|
domcox@15528
|
27 # Create own window instead of using desktop
|
domcox@15528
|
28 own_window yes
|
domcox@15529
|
29 own_window_class Conky
|
domcox@15529
|
30 own_window_type normal
|
domcox@15528
|
31 own_window_transparent no
|
domcox@15529
|
32 own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
|
domcox@15528
|
33
|
domcox@15528
|
34 # Use double buffering (reduces flicker, may not work for everyone)
|
domcox@15528
|
35 double_buffer yes
|
domcox@15528
|
36
|
domcox@15528
|
37 # Minimum size of text area
|
domcox@15528
|
38 minimum_size 250 5
|
domcox@15528
|
39
|
domcox@15528
|
40 # Draw shades?
|
pankso@1017
|
41 draw_shades no
|
pankso@1017
|
42
|
domcox@15528
|
43 # Draw outlines?
|
domcox@15528
|
44 draw_outline no # amplifies text
|
pankso@1017
|
45
|
domcox@15528
|
46 # Draw borders around text
|
domcox@15528
|
47 draw_borders no
|
domcox@15528
|
48
|
domcox@15528
|
49 # Stippled borders?
|
domcox@15528
|
50 stippled_borders 0
|
domcox@15528
|
51
|
domcox@15528
|
52 # border margins
|
domcox@15528
|
53 border_outer_margin 5
|
domcox@15528
|
54
|
domcox@15528
|
55 # border width
|
domcox@15528
|
56 border_width 0
|
domcox@15528
|
57
|
domcox@15528
|
58 # Default colors and also border colors
|
domcox@15528
|
59 default_color Dark Gray
|
domcox@15528
|
60 default_shade_color Black
|
domcox@15528
|
61 default_outline_color Dark Gray
|
domcox@15528
|
62 color1 Dark Sea Green
|
domcox@15528
|
63 color2 Dark Orange
|
domcox@15528
|
64
|
domcox@15528
|
65 # Text alignment, other possible values are commented
|
domcox@15528
|
66 alignment top_right
|
domcox@15528
|
67 #alignment top_left
|
domcox@15528
|
68 #alignment bottom_left
|
domcox@15528
|
69 #alignment bottom_right
|
domcox@15528
|
70
|
domcox@15528
|
71 # Gap between borders of screen and text
|
domcox@15528
|
72 gap_x 24
|
domcox@15528
|
73 gap_y 48
|
domcox@15528
|
74
|
domcox@15528
|
75 # Subtract file system buffers from used memory?
|
pankso@1017
|
76 no_buffers yes
|
pankso@1017
|
77
|
domcox@15528
|
78 # set to yes if you want all text to be in uppercase
|
domcox@15528
|
79 uppercase no
|
pankso@1017
|
80
|
domcox@15528
|
81 # default bars size
|
domcox@15528
|
82 default_bar_size 70 6
|
domcox@15528
|
83 default_gauge_size 70 6
|
domcox@15528
|
84 default_graph_size 70 6
|
pankso@1017
|
85
|
domcox@15528
|
86 # top name width
|
domcox@15528
|
87 top_name_width 10
|
pankso@1017
|
88
|
domcox@15528
|
89 # how to check an interface for being up (up, link or address)
|
domcox@15528
|
90 if_up_strictness link
|
domcox@15528
|
91
|
domcox@15528
|
92 #
|
domcox@15528
|
93 # stuff after 'TEXT' will be formatted on screen
|
domcox@15528
|
94 #
|
pankso@1017
|
95
|
pankso@1017
|
96 TEXT
|
domcox@15528
|
97 ${color2}SYSTEM ${hr}
|
pankso@1017
|
98
|
domcox@15528
|
99 #$desktop_name
|
domcox@15528
|
100 $color Slitaz release $alignr$color1${pre_exec awk '{printf "%s" $0}' /etc/slitaz-release}
|
domcox@15528
|
101 $color Kernel $alignr$color1$sysname $kernel $machine
|
domcox@15528
|
102 $color Hostname $alignr$color1$nodename
|
domcox@15528
|
103 $color Uptime $alignr$color1$uptime
|
domcox@15528
|
104 ${if_existing /sys/class/power_supply/BAT0}$color Battery $alignr$color1${battery BAT0} ${battery_bar BAT0}$endif\
|
domcox@15528
|
105 ${if_existing /sys/class/power_supply/BAT1}$color Battery 2 $alignr$color1${battery BAT1} ${battery_bar BAT1}$endif
|
domcox@15528
|
106
|
domcox@15528
|
107 ${color2}RESOURCES ${hr}
|
domcox@15528
|
108
|
domcox@15528
|
109 # CPU0 is the total usage for all CPUs
|
domcox@15528
|
110 $color CPU $alignr$color1${cpu CPU0}% ${cpubar CPU0}
|
domcox@15528
|
111 #$color1 ${cpugraph CPU0 $color $color1}
|
domcox@15528
|
112 ${if_existing /boot}$color RAM $alignr$color1$memmax $membar\
|
domcox@15528
|
113 ${else}$color RAM $alignr$color1${fs_size /} ${fs_bar /}$endif
|
domcox@15528
|
114 ${if_mounted swap}$color Swap $swapperc%$alignr$color1$swap/$swapmax
|
domcox@15528
|
115 ${else}$color Swap $alignr$color1 Disabled$endif
|
domcox@15528
|
116 $color Disk / $alignr$color1${fs_size /} ${fs_bar /}
|
domcox@15528
|
117 ${if_mounted /home}$color Disk /home $alignr$color1${fs_size /home} ${fs_bar /home}${endif}
|
domcox@15528
|
118
|
domcox@15528
|
119 ${color2}PROCESSING ${hr}
|
domcox@15528
|
120
|
domcox@15528
|
121 $color Name ${goto 100} PID ${goto 160} CPU% $alignr MEM% $color1
|
domcox@15528
|
122 ${top name 1} ${goto 100} ${top pid 1} ${goto 160} ${top cpu 1} $alignr ${top mem 1}
|
domcox@15528
|
123 ${top name 2} ${goto 100} ${top pid 2} ${goto 160} ${top cpu 2} $alignr ${top mem 2}
|
domcox@15528
|
124 ${top name 3} ${goto 100} ${top pid 3} ${goto 160} ${top cpu 3} $alignr ${top mem 3}
|
domcox@15528
|
125 ${top name 4} ${goto 100} ${top pid 4} ${goto 160} ${top cpu 4} $alignr ${top mem 4}
|
domcox@15528
|
126
|
domcox@15528
|
127 ${color2}NETWORK ${hr}
|
domcox@15528
|
128
|
domcox@15528
|
129 # eth0
|
domcox@15528
|
130 ${if_up eth0}$color2 eth0 $alignr ${addr eth0}
|
domcox@15528
|
131 $color Up $alignr$color1${upspeed eth0} ${upspeedgraph eth0 6,70}
|
domcox@15528
|
132 $color Total $alignr$color1 ${totalup eth0}
|
domcox@15528
|
133 $color Down $alignr$color1 ${downspeed eth0} ${downspeedgraph eth0 6,70}
|
domcox@15528
|
134 $color Total $alignr$color1 $color1${totaldown eth0}
|
domcox@15528
|
135 $endif \
|
domcox@15528
|
136 # eth1
|
domcox@15528
|
137 ${if_up eth1}$color2 eth1 $alignr ${addr eth1}
|
domcox@15528
|
138 $color Up $alignr$color1${upspeed eth1} ${upspeedgraph eth1 6,70}
|
domcox@15528
|
139 $color Total $alignr$color1 ${totalup eth1}
|
domcox@15528
|
140 $color Down $alignr$color1 ${downspeed eth1} ${downspeedgraph eth1 6,70}
|
domcox@15528
|
141 $color Total $alignr$color1 $color1${totaldown eth1}
|
domcox@15528
|
142 $endif \
|
domcox@15528
|
143 # wlan0
|
domcox@15528
|
144 ${if_up wlan0}$color2 wlan0 $alignr ${addr wlan0}
|
domcox@15528
|
145 $color Up $alignr$color1${upspeed wlan0} ${upspeedgraph wlan0 6,70}
|
domcox@15528
|
146 $color Total $alignr$color1 ${totalup wlan0}
|
domcox@15528
|
147 $color Down $alignr$color1 ${downspeed wlan0} ${downspeedgraph wlan0 6,70}
|
domcox@15528
|
148 $color Total $alignr$color1 $color1${totaldown wlan0}
|
domcox@15528
|
149 $color SSID $alignr$color1 ${wireless_essid wlan0}
|
domcox@15528
|
150 $color Signal $alignr$color1 ${wireless_link_qual wlan0}% ${wireless_link_bar wlan0}
|
domcox@15528
|
151 $color Bitrate $alignr$color1 ${wireless_bitrate wlan0}
|
domcox@15528
|
152 $endif
|