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

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

initial release

File size: 3.5 KB
Line 
1#==============================================================================
2# conkyrc_GVA
3#
4# author : Daniel Duran Vecino daduve@gmail.com
5# version : v0.1
6# license : Distributed under the terms of GNU GPL version 2 or later
7#
8#==============================================================================
9background yes
10own_window_colour grey
11default_color black
12use_xft yes
13xftalpha 0.6
14own_window yes
15own_window_type override
16own_window_transparent no
17own_window_class Conky
18#own_window_argb_visual yes
19own_window_hints    undecorated,below,sticky,skip_taskbar,skip_pager
20# 0 = transparent, 255 = solid
21own_window_argb_value 160
22no_buffers yes
23cpu_avg_samples 2
24double_buffer yes
25update_interval 1
26
27maximum_width 200
28alignment top_right
29gap_x 10
30gap_y 130
31
32no_buffers yes
33uppercase no
34cpu_avg_samples 5
35net_avg_samples 5
36diskio_avg_samples 5
37if_up_strictness address
38
39draw_shades no
40draw_outline no
41draw_borders no
42draw_graph_borders no
43short_units true
44use_spacer none
45xftfont DejaVu Sans Mono:size=10
46
47###ANTIGUA DEFINICION DE TOP
48# TOP
49#${template0 TOP}
50#$color${font Open Sans:bold:size=8}CPU$font
51#${template2 top 1 cpu}
52#${template2 top 2 cpu}
53#${template2 top 3 cpu}${voffset 5}
54#$color${font Open Sans:bold:size=8}RAM$font
55#${template2 top_mem 1 mem}
56#${template2 top_mem 2 mem}
57#${template2 top_mem 3 mem}
58
59
60
61template0 ${font Open Sans:Bold:size=10}${color blue}\1 ${hr 2}$color${font}${voffset 1}
62template1 USED \1: ${fs_used_perc \1}% ${alignr\ 80}${fs_bar\ \1}
63template2 ${\1 name \2}${alignr}${\1 \3 \2} %
64template3 ${if_up \1}${template0 \2}\nIP  ${alignr 9} ${addrs \1}\nDLS:${downspeed \1} kb/s\nULS:${upspeed \1} kb/s$endif
65template4 ${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
66template5  MIRROR \1:${exec cat /tmp/mirror_version.txt | grep 'VERSION \1' | cut -d ":" -f2 | xargs}
67template6  MIRROR DUAL:${exec cat /tmp/mirror_version.txt | grep 'VERSION 32' | cut -d ":" -f2 | xargs}
68
69
70TEXT
71${template0 DATOS}
72USUARIO: $LOGNAME
73EQUIPO: $nodename
74CLIENTE: ${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}
75ARQUITECTURA: ${exec uname -m > /tmp/architecture.txt}${if_match ${exec grep "x86_64" /tmp/architecture.txt -c}!=0}64 Bits${else}32 Bits${endif}
76VERSION: ${exec cat /usr/share/lliurex-cdd/version}
77${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}
78${if_match ${fs_used_perc /}>=91}${execi 1000 /usr/share/lliurex-conky/hdd_full}${else}${endif}
79# SYS
80${template0 SYSTEM}
81Kernel $alignr $kernel
82Uptime $alignr $uptime
83
84# CPU
85${template0 CPU}
86${exec cat /proc/cpuinfo | grep 'model name' | cut -c 14-42 | uniq }
87$cpu % ${cpubar}
88${cpugraph}
89# RAM
90${template0 RAM}
91RAM Usage: $mem/$memmax
92$memperc% $membar
93SWAP Usage:$swap/$swapmax
94$swapperc% ${swapbar}
95
96# NETWORK
97#IP: ${addrs eth0}
98${template3 eth0 ETH0}${template3 wlan0 WLAN0}
99${template3 eth1 ETH1}${template3 wlan1 WLAN1}
100${template3 eth2 ETH2}${template3 wlan2 WLAN2}
101# HDD
102${template0 HDD}
103${template1 /}
104${if_mounted /net${template1 /net}}$endif
Note: See TracBrowser for help on using the repository browser.