source: lliurex-conky/trunk/fuentes/lliurex-conky.install-files/usr/share/lliurex-conky/conkyrc_admins @ 8155

Last change on this file since 8155 was 8155, checked in by hectorgh, 14 months ago

fixing errors

File size: 6.4 KB
Line 
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  ##################################################
10own_window yes
11own_window_class Conky
12own_window_type dock
13#own_window_transparent yes
14#own_window_colour grey
15own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
16own_window_title LLIUREX_CONKY
17own_window_argb_visual yes
18own_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.
24double_buffer yes
25
26#minimum_size 600 500 ## width, height
27#maximum_width 600  ## width, usually a good idea to equal minimum width
28
29maximum_width 200
30alignment top_right
31gap_x 10
32gap_y 200
33
34cpu_avg_samples 5
35net_avg_samples 5
36diskio_avg_samples 5
37if_up_strictness address
38
39total_run_times 0
40update_interval 1
41####################################################  End Window Settings  ###
42###  Font Settings  ##########################################################
43# Use Xft (anti-aliased font and stuff)
44use_xft yes
45
46# Alpha of Xft font. Must be a value at or between 1 and 0 ###
47xftalpha 0.6
48# Force UTF8? requires XFT ###
49override_utf8_locale yes
50
51draw_shades no #### <<<<<<------------------To see it easier on light screens.
52#default_shade_color black
53
54draw_outline no #### <<<<<<---------------- Amplifies text if yes
55default_outline_color black
56
57uppercase 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  ########################################################
77draw_borders no
78# Stippled borders?
79stippled_borders 0
80# border margins
81border_inner_margin 5
82border_outer_margin 0
83# border width
84border_width 0
85# graph borders
86draw_graph_borders no
87#####################################################  End Borders Secton  ###
88###  Miscellaneous Section  ##################################################
89
90# Boolean value, if true, Conky will be forked to background when started.
91background 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
96use_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
100text_buffer_size 2048
101
102# Subtract (file system) buffers from used memory?
103no_buffers yes
104
105# Temperature unit (default is Celsius)
106temperature_unit fahrenheit
107
108# change GiB to G and MiB to M
109short_units yes
110
111# Like it says, ot pads the decimals on % values
112# doesn't seem to work since v1.7.1
113pad_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
122xftfont Debian bold:size=10
123###################
124####  TEMPLATES   ######
125###################
126
127
128
129template1 USED \1: ${fs_used_perc \1}% ${alignr\ 80}${fs_bar\ \1}
130template2 ${\1 name \2}${alignr}${\1 \3 \2} %
131template3 ${if_up \1}${template0 \2}\nIP  ${alignr 9} ${addrs \1}\nDLS:${downspeed \1} kb/s\nULS:${upspeed \1} kb/s$endif
132template4 ${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
133template5 ${if_up \1}${template0 \2}\nIP  ${alignr 9} ${addrs \1}\nDLS:${downspeed \1} kb/s$endif
134template6 ${if_up \1}${template0 \2}\nIP  ${alignr 9} ${addrs \1}\nULS:${upspeed \1} kb/s$endif
135template7 ${if_up \1}${template0 \2}\nIP  ${alignr 9} ${addrs \1}$endif
136template8  MIRROR \1:${exec cat /tmp/mirror_version.txt | grep 'VERSION \1' | cut -d ":" -f2 | xargs}
137template9  MIRROR DUAL:${exec cat /tmp/mirror_version.txt | grep 'VERSION 32' | cut -d ":" -f2 | xargs}
138template0 ${font AvantGardeLTMedium:bold:size=10}${color dodgerblue3}\1 ${hr 2}${color white}${font}${voffset 1}
139TEXT
140${color white}${font}${font AvantGardeLTMedium::size=38}$alignc${time %H:%M}$font${color white}${font AvantGardeLTMedium:size=15}
141$alignc${time %a}, ${time %d %b %Y}$font${color white}
142
143${template0 DATOS}
144USUARIO: $LOGNAME
145EQUIPO: $nodename
146CLIENTE: ${if_match "${texeci 60000 grep "server" /tmp/conky-test.txt -c}" != "0"}${if_empty ${texeci 1000 echo $DISPLAY | cut -d ":" -f 1}}Servidor${else}Ligero${endif}${else}${if_match "${texeci 1000 grep "client" /tmp/conky-test.txt -c}" != "0"}${if_empty ${texeci 1000cat /tmp/conky-test-fat.txt | grep true }}Pesado${else}Semiligero${endif}${else}Escritorio${endif}${endif}
147ARQUITECTURA: ${if_match "${texeci 60000 grep "x86_64" /tmp/architecture.txt -c}" != "0"}64 Bits${else}32 Bits${endif}
148VERSIÓN:${texeci 10000 lliurex-version -n}
149${if_existing /tmp/mirror_version.txt}${if_match ${texeci 60000 grep "VERSION 32" /tmp/mirror_version.txt -c}!=0}${if_match ${texeci 1000 grep "VERSION 64" /tmp/mirror_version.txt -c}!=0}${template9}${else}${template8 32}${endif}${else}${if_match ${texeci 1000 grep "VERSION 64" /tmp/mirror_version.txt -c}!=0}${template8 64}${endif}${endif}${else}NO MIRROR DONE${endif}
150${template0 SISTEMA}
151Kernel $alignr $kernel
152T. encendido $alignr $uptime
153${template0 CPU}
154${texeci 6000000 cat /proc/cpuinfo | grep 'model name' | cut -c 14-42 | uniq }
155$cpu % ${cpubar}
156${template0 RAM}
157Uso de RAM: $memperc% $alignr $memmax
158Uso de SWAP: $swapperc% $alignr $swapmax
159${template7 eth0 ETH0}
160${template7 eth1 ETH1}
161${template0 Disco Duro}
162${if_mounted /}${template1 /}${if_match ${fs_used_perc /}>=91}${texeci 1000 /usr/share/lliurex-conky/hdd_full}${else}${endif}$endif
163${if_mounted /net}${template1 /net}${if_match ${fs_used_perc /net}>=91}${texeci 1000 /usr/share/lliurex-conky/hdd_full_net}${else}${endif}$endif
Note: See TracBrowser for help on using the repository browser.