1 | #============================================================================== |
---|
2 | ## conkyrc admins |
---|
3 | ## |
---|
4 | ## author : Daniel Duran |
---|
5 | ## version : xenial |
---|
6 | ## license : Distributed under the terms of GNU GPL version 2 or later |
---|
7 | ## |
---|
8 | #============================================================================== |
---|
9 | ### Begin Window Settings ################################################## |
---|
10 | own_window yes |
---|
11 | own_window_class Conky |
---|
12 | own_window_type dock |
---|
13 | #own_window_transparent yes |
---|
14 | #own_window_colour grey |
---|
15 | own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager |
---|
16 | own_window_title LLIUREX_CONKY |
---|
17 | own_window_argb_visual yes |
---|
18 | own_window_argb_value 150 |
---|
19 | |
---|
20 | |
---|
21 | # Use the Xdbe extension? (eliminates flicker) |
---|
22 | # It is highly recommended to use own window with this one |
---|
23 | # so double buffer won't be so big. |
---|
24 | double_buffer yes |
---|
25 | |
---|
26 | #minimum_size 600 500 ## width, height |
---|
27 | #maximum_width 600 ## width, usually a good idea to equal minimum width |
---|
28 | |
---|
29 | maximum_width 200 |
---|
30 | alignment top_right |
---|
31 | gap_x 10 |
---|
32 | gap_y 200 |
---|
33 | |
---|
34 | cpu_avg_samples 5 |
---|
35 | net_avg_samples 5 |
---|
36 | diskio_avg_samples 5 |
---|
37 | if_up_strictness address |
---|
38 | |
---|
39 | total_run_times 0 |
---|
40 | update_interval 1 |
---|
41 | #################################################### End Window Settings ### |
---|
42 | ### Font Settings ########################################################## |
---|
43 | # Use Xft (anti-aliased font and stuff) |
---|
44 | use_xft yes |
---|
45 | |
---|
46 | # Alpha of Xft font. Must be a value at or between 1 and 0 ### |
---|
47 | xftalpha 0.6 |
---|
48 | # Force UTF8? requires XFT ### |
---|
49 | override_utf8_locale yes |
---|
50 | |
---|
51 | draw_shades no #### <<<<<<------------------To see it easier on light screens. |
---|
52 | #default_shade_color black |
---|
53 | |
---|
54 | draw_outline no #### <<<<<<---------------- Amplifies text if yes |
---|
55 | default_outline_color black |
---|
56 | |
---|
57 | uppercase no |
---|
58 | ###################################################### End Font Settings ### |
---|
59 | ### Color Settings ######################################################### |
---|
60 | #default_shade_color gray |
---|
61 | #default_outline_color black |
---|
62 | |
---|
63 | #default_color DCDCDC #220 220 220 Gainsboro |
---|
64 | #color0 8FBC8F #143 188 143 DarkSeaGreen |
---|
65 | #color1 778899 #119 136 153 LightSlateGray |
---|
66 | #color2 FF8C00 #255 140 0 DarkOrange |
---|
67 | #color3 7FFF00 #127 255 0 Chartreuse |
---|
68 | #color4 FFA07A #255 160 122 LightSalmon |
---|
69 | #color5 FFDEAD #255 222 173 NavajoWhite |
---|
70 | #color6 00BFFF # 0 191 255 DeepSkyBlue |
---|
71 | #color7 00FFFF # 0 255 255 Cyan |
---|
72 | #color8 FFFF00 #255 255 0 Yellow |
---|
73 | #color9 FF0000 #255 0 0 Red |
---|
74 | |
---|
75 | ##################################################### End Color Settings ### |
---|
76 | ### Borders Section ######################################################## |
---|
77 | draw_borders no |
---|
78 | # Stippled borders? |
---|
79 | stippled_borders 0 |
---|
80 | # border margins |
---|
81 | border_inner_margin 5 |
---|
82 | border_outer_margin 0 |
---|
83 | # border width |
---|
84 | border_width 0 |
---|
85 | # graph borders |
---|
86 | draw_graph_borders no |
---|
87 | ##################################################### End Borders Secton ### |
---|
88 | ### Miscellaneous Section ################################################## |
---|
89 | |
---|
90 | # Boolean value, if true, Conky will be forked to background when started. |
---|
91 | background yes |
---|
92 | |
---|
93 | # Adds spaces around certain objects to stop them from moving other things |
---|
94 | # around, this only helps if you are using a mono font |
---|
95 | # Options: right, left or none |
---|
96 | use_spacer right |
---|
97 | |
---|
98 | # Default and Minimum size is 256 - needs more for single commands that |
---|
99 | # "call" a lot of text IE: bash scripts |
---|
100 | text_buffer_size 2048 |
---|
101 | |
---|
102 | # Subtract (file system) buffers from used memory? |
---|
103 | no_buffers yes |
---|
104 | |
---|
105 | # Temperature unit (default is Celsius) |
---|
106 | temperature_unit fahrenheit |
---|
107 | |
---|
108 | # change GiB to G and MiB to M |
---|
109 | short_units yes |
---|
110 | |
---|
111 | # Like it says, ot pads the decimals on % values |
---|
112 | # doesn't seem to work since v1.7.1 |
---|
113 | pad_percents 2 |
---|
114 | |
---|
115 | # Maximum size of user text buffer, i.e. layout below TEXT line in config file |
---|
116 | # (default is 16384 bytes) |
---|
117 | # max_user_text 16384 |
---|
118 | |
---|
119 | ############################################## End Miscellaneous Section |
---|
120 | |
---|
121 | |
---|
122 | xftfont Debian bold:size=10 |
---|
123 | ################### |
---|
124 | #### TEMPLATES ###### |
---|
125 | ################### |
---|
126 | |
---|
127 | |
---|
128 | |
---|
129 | template1 USED \1: ${fs_used_perc \1}% ${alignr\ 80}${fs_bar\ \1} |
---|
130 | template2 ${\1 name \2}${alignr}${\1 \3 \2} % |
---|
131 | template3 ${if_up \1}${template0 \2}\nIP ${alignr 9} ${addrs \1}\nDLS:${downspeed \1} kb/s\nULS:${upspeed \1} kb/s$endif |
---|
132 | template4 ${if_up \1}${template0 \2}\ndown $alignr ${downspeed \1}/s\nup $alignr ${upspeed \1}/s\ntotal down$alignr${totaldown \1}\ntotal up $alignr${totalup \1}$endif |
---|
133 | template5 ${if_up \1}${template0 \2}\nIP ${alignr 9} ${addrs \1}\nDLS:${downspeed \1} kb/s$endif |
---|
134 | template6 ${if_up \1}${template0 \2}\nIP ${alignr 9} ${addrs \1}\nULS:${upspeed \1} kb/s$endif |
---|
135 | template7 ${if_up \1}${template0 \2}\nIP ${alignr 9} ${addrs \1}$endif |
---|
136 | template8 MIRROR \1:${exec cat /tmp/mirror_version.txt | grep 'VERSION \1' | cut -d ":" -f2 | xargs} |
---|
137 | template9 MIRROR DUAL:${exec cat /tmp/mirror_version.txt | grep 'VERSION 32' | cut -d ":" -f2 | xargs} |
---|