1 | #============================================================================== |
---|
2 | ## conkyrc_students |
---|
3 | ## |
---|
4 | ## author : Daniel Durán |
---|
5 | ## version : v0.5 |
---|
6 | ## license : Distributed under the terms of GNU GPL version 2 or later |
---|
7 | ## |
---|
8 | #============================================================================== |
---|
9 | #if_running clementine}# Use Xft? |
---|
10 | use_xft yes |
---|
11 | #xftfont Trebuchet MS:size=8 |
---|
12 | #xftalpha 0.8 |
---|
13 | text_buffer_size 2048 |
---|
14 | background yes |
---|
15 | # Update interval in seconds |
---|
16 | #update_interval 1 |
---|
17 | xftalpha 0.8 |
---|
18 | #own_window_argb_visual yes |
---|
19 | # This is the number of times Conky will update before quitting. |
---|
20 | # Set to zero to run forever. |
---|
21 | total_run_times 0 |
---|
22 | |
---|
23 | |
---|
24 | # Create own window instead of using desktop (required in nautilus) |
---|
25 | own_window yes |
---|
26 | own_window_transparent yes |
---|
27 | own_window_type override |
---|
28 | own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager |
---|
29 | |
---|
30 | |
---|
31 | # Use double buffering (reduces flicker, may not work for everyone) |
---|
32 | double_buffer yes |
---|
33 | # Minimum size of text area |
---|
34 | #minimum_size 180 0 |
---|
35 | # Draw shades? |
---|
36 | draw_shades no |
---|
37 | draw_graph_borders no |
---|
38 | |
---|
39 | # Draw outlines? |
---|
40 | draw_outline no |
---|
41 | |
---|
42 | # Draw borders around text |
---|
43 | draw_borders no |
---|
44 | |
---|
45 | # Stippled borders? |
---|
46 | stippled_borders 0 |
---|
47 | |
---|
48 | # border margins |
---|
49 | #border_margin 5 |
---|
50 | |
---|
51 | # border width |
---|
52 | border_width 1 |
---|
53 | |
---|
54 | |
---|
55 | # Default colors and also border colors |
---|
56 | #default_color white |
---|
57 | # own_window_colour white |
---|
58 | |
---|
59 | |
---|
60 | # Subtract file system buffers from used memory? |
---|
61 | no_buffers yes |
---|
62 | |
---|
63 | |
---|
64 | # set to yes if you want all text to be in uppercase |
---|
65 | uppercase no |
---|
66 | |
---|
67 | |
---|
68 | # number of cpu samples to average |
---|
69 | # set to 1 to disable averaging |
---|
70 | #cpu_avg_samples 2 |
---|
71 | # number of net samples to average |
---|
72 | # set to 1 to disable averaging |
---|
73 | #net_avg_samples 2 |
---|
74 | # Force UTF8? note that UTF8 support required XFT |
---|
75 | override_utf8_locale yes |
---|
76 | |
---|
77 | |
---|
78 | # Add spaces to keep things from moving about? This only affects certain objects. |
---|
79 | use_spacer none |
---|
80 | |
---|
81 | |
---|
82 | gap_x 30 |
---|
83 | gap_y 250 |
---|
84 | #Change by DGTI |
---|
85 | #gap_y 160 |
---|
86 | #maximum_width 200 |
---|
87 | alignment bottom_right |
---|
88 | default_color white |
---|
89 | |
---|
90 | |
---|
91 | template1 ${if_up \1}\n IP \2:$alignr ${addrs \1}$endif |
---|
92 | |
---|
93 | TEXT |
---|
94 | $hr |
---|
95 | USUARIO: $LOGNAME |
---|
96 | EQUIPO: $nodename |
---|
97 | CLIENTE:${exec lliurex-version > /tmp/test.txt}${if_match ${exec grep "server" /tmp/test.txt -c}!=0}${if_empty ${exec echo $DISPLAY | cut -d ":" -f 1}}Servidor${else}Ligero${endif}${else}${if_match ${exec grep "client" /tmp/test.txt -c}!=0}${if_match ${exec echo $LTSP_FATCLIENT | grep "true"}=0}Pesado${else}Semiligero${endif}${else}Desktop${endif}${endif} |
---|
98 | VERSION: ${exec cat /usr/share/lliurex-cdd/version} |
---|
99 | ARQUITECTURA: ${exec uname -m > /tmp/architecture.txt}${if_match ${exec grep "x86_64" /tmp/architecture.txt -c}!=0}64 Bits${else}32 Bits${endif} |
---|
100 | $hr${template1 eth0 ETH0}${template1 eth1 ETH1}${template1 eth2 ETH2}${template1 eth3 ETH3}${template1 eth4 ETH4} |
---|
101 | $hr |
---|