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

Last change on this file since 1598 was 1598, checked in by daduve, 4 years ago

Addin colour selection to gui

File size: 6.1 KB
Line 
1#==============================================================================
2# conkyrc_admins
3#
4# author : Daniel Durán
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 desktop
13own_window_transparent yes
14#own_window_colour grey
15own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
16own_window_title LLIUREX_CONKY
17#own_window_argb_visual yes
18#own_window_argb_value 240
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 130
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.8
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
55#default_outline_color black
56default_outline_color 00FFFF
57
58uppercase no
59######################################################  End Font Settings  ###
60###  Color Settings  #########################################################
61#default_shade_color gray
62#default_outline_color black
63
64#default_color DCDCDC #220 220 220      Gainsboro
65#color0 8FBC8F #143 188 143     DarkSeaGreen
66#color1 778899 #119 136 153     LightSlateGray
67#color2 FF8C00 #255 140   0     DarkOrange
68#color3 7FFF00 #127 255   0     Chartreuse
69#color4 FFA07A #255 160 122     LightSalmon
70#color5 FFDEAD #255 222 173     NavajoWhite
71#color6 00BFFF #  0 191 255     DeepSkyBlue
72#color7 00FFFF #  0 255 255     Cyan
73#color8 FFFF00 #255 255   0     Yellow
74#color9 FF0000 #255   0   0     Red
75
76default_color 00ffff
77
78#####################################################  End Color Settings  ###
79###  Borders Section  ########################################################
80draw_borders no
81# Stippled borders?
82stippled_borders 0
83# border margins
84border_inner_margin 5
85border_outer_margin 0
86# border width
87border_width 0
88# graph borders
89draw_graph_borders no
90#####################################################  End Borders Secton  ###
91###  Miscellaneous Section  ##################################################
92
93# Boolean value, if true, Conky will be forked to background when started.
94background no
95
96# Adds spaces around certain objects to stop them from moving other things
97# around, this only helps if you are using a mono font
98# Options: right, left or none
99use_spacer right
100
101# Default and Minimum size is 256 - needs more for single commands that
102# "call" a lot of text IE: bash scripts
103text_buffer_size 2048
104
105# Subtract (file system) buffers from used memory?
106no_buffers yes
107
108# Temperature unit (default is Celsius)
109temperature_unit fahrenheit
110
111# change GiB to G and MiB to M
112short_units yes
113
114# Like it says, ot pads the decimals on % values
115# doesn't seem to work since v1.7.1
116pad_percents 2
117
118#   Maximum size of user text buffer, i.e. layout below TEXT line in config file
119#  (default is 16384 bytes)
120# max_user_text 16384
121
122##############################################  End Miscellaneous Section 
123
124default_color 00ffff
125xftfont DejaVu Sans Mono:size=10
126###################
127####  TEMPLATES   ######
128###################
129
130template0 ${font AvantGardeLTMedium:bold:size=10}${color FF8C00}\1 ${hr 2}$color${font}${voffset 1}
131template1 USED \1: ${fs_used_perc \1}% ${alignr\ 80}${fs_bar\ \1}
132template2 ${\1 name \2}${alignr}${\1 \3 \2} %
133template3 ${if_up \1}${template0 \2}\nIP  ${alignr 9} ${addrs \1}\nDLS:${downspeed \1} kb/s\nULS:${upspeed \1} kb/s$endif
134template4 ${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
135template5  MIRROR \1:${exec cat /tmp/mirror_version.txt | grep 'VERSION \1' | cut -d ":" -f2 | xargs}
136template6  MIRROR DUAL:${exec cat /tmp/mirror_version.txt | grep 'VERSION 32' | cut -d ":" -f2 | xargs}
137
138
139TEXT
140${template0 DATOS}
141USUARIO: $LOGNAME
142EQUIPO: $nodename
143CLIENTE: ${if_match ${exec grep "server" /tmp/conky-test.txt -c}!=0}${if_empty ${exec echo $DISPLAY | cut -d ":" -f 1}}Servidor${else}Ligero${endif}${else}${if_match ${exec grep "client" /tmp/conky-test.txt -c}!=0}${if_empty ${exec cat /tmp/conky-test-fat.txt | grep true }}Pesado${else}Semiligero${endif}${else}Desktop${endif}${endif}
144ARQUITECTURA: ${if_match ${exec grep "x86_64" /tmp/architecture.txt -c}!=0}64 Bits${else}32 Bits${endif}
145VERSION: ${exec /usr/bin/lliurex-version -n}
146${if_existing /tmp/mirror_version.txt}${if_match ${exec grep "VERSION 32" /tmp/mirror_version.txt -c}!=0}${if_match ${exec grep "VERSION 64" /tmp/mirror_version.txt -c}!=0}${template6}${else}${template5 32}${endif}${else}${if_match ${exec grep "VERSION 64" /tmp/mirror_version.txt -c}!=0}${template5 64}${endif}${endif}${endif}
147${if_match ${fs_used_perc /}>=91}${execi 1000 /usr/share/lliurex-conky/hdd_full}${else}${endif}
148# SYS
149${template0 SYSTEM}
150Kernel $alignr $kernel
151Uptime $alignr $uptime
152
153# CPU
154${template0 CPU}
155${exec cat /proc/cpuinfo | grep 'model name' | cut -c 14-42 | uniq }
156$cpu % ${cpubar}
157${cpugraph}
158# RAM
159${template0 RAM}
160RAM Usage: $mem/$memmax
161$memperc% $membar
162SWAP Usage:$swap/$swapmax
163$swapperc% ${swapbar}
164
165# NETWORK
166#IP: ${addrs eth0}
167${template3 eth0 ETH0}${template3 wlan0 WLAN0}
168${template3 eth1 ETH1}${template3 wlan1 WLAN1}
169${template3 eth2 ETH2}${template3 wlan2 WLAN2}
170# HDD
171${template0 HDD}
172${template1 /}
173${if_mounted /net${template1 /net}}${if_match ${fs_used_perc /net}>=95}${execi 100 /usr/share/lliurex-conky/hdd_full_net}${else}${endif}$endif
Note: See TracBrowser for help on using the repository browser.