wok-next view conky/stuff/conky.conf @ rev 20160

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