Changeset 53
- Timestamp:
- Jan 28, 2016, 9:41:47 AM (5 years ago)
- Location:
- lliurex-conky/trunk/fuentes/lliurex-conky.install-files/usr/share/lliurex-conky
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
lliurex-conky/trunk/fuentes/lliurex-conky.install-files/usr/share/lliurex-conky/conkyrc_admins
r45 r53 1 1 #============================================================================== 2 # conkyrc_ GVA2 # conkyrc_admins 3 3 # 4 # author : Daniel Dur an Vecino daduve@gmail.com5 # version : v0.14 # author : Daniel Durán 5 # version : xenial 6 6 # license : Distributed under the terms of GNU GPL version 2 or later 7 7 # 8 8 #============================================================================== 9 background yes 10 own_window_colour grey 11 default_color black 12 use_xft yes 13 xftalpha 0.6 9 ### Begin Window Settings ################################################## 14 10 own_window yes 15 own_window_type override 11 own_window_class Conky 12 own_window_type desktop 16 13 own_window_transparent no 17 own_window_class Conky 18 #own_window_argb_visual yes 19 own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager 20 # 0 = transparent, 255 = solid 21 own_window_argb_value 160 22 no_buffers yes 23 cpu_avg_samples 2 14 own_window_colour black 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 200 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 24 double_buffer yes 25 update_interval 1 25 26 #minimum_size 600 500 ## width, height 27 #maximum_width 600 ## width, usually a good idea to equal minimum width 26 28 27 29 maximum_width 200 … … 30 32 gap_y 130 31 33 32 no_buffers yes33 uppercase no34 34 cpu_avg_samples 5 35 35 net_avg_samples 5 … … 37 37 if_up_strictness address 38 38 39 draw_shades no 40 draw_outline no 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.8 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 default_color white 76 77 ##################################################### End Color Settings ### 78 ### Borders Section ######################################################## 41 79 draw_borders no 80 # Stippled borders? 81 stippled_borders 0 82 # border margins 83 border_inner_margin 5 84 border_outer_margin 0 85 # border width 86 border_width 0 87 # graph borders 42 88 draw_graph_borders no 43 short_units true 44 use_spacer none 45 xftfont DejaVu Sans Mono:size=10 89 ##################################################### End Borders Secton ### 90 ### Miscellaneous Section ################################################## 46 91 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} 92 # Boolean value, if true, Conky will be forked to background when started. 93 background no 94 95 # Adds spaces around certain objects to stop them from moving other things 96 # around, this only helps if you are using a mono font 97 # Options: right, left or none 98 use_spacer right 99 100 # Default and Minimum size is 256 - needs more for single commands that 101 # "call" a lot of text IE: bash scripts 102 text_buffer_size 2048 103 104 # Subtract (file system) buffers from used memory? 105 no_buffers yes 106 107 # Temperature unit (default is Celsius) 108 temperature_unit fahrenheit 109 110 # change GiB to G and MiB to M 111 short_units yes 112 113 # Like it says, ot pads the decimals on % values 114 # doesn't seem to work since v1.7.1 115 pad_percents 2 116 117 # Maximum size of user text buffer, i.e. layout below TEXT line in config file 118 # (default is 16384 bytes) 119 # max_user_text 16384 120 121 ############################################## End Miscellaneous Section 58 122 59 123 124 xftfont DejaVu Sans Mono:size=10 125 ################### 126 #### TEMPLATES ###### 127 ################### 60 128 61 template0 ${font Open Sans:Bold:size=10}${color blue}\1 ${hr 2}$color${font}${voffset 1}129 template0 ${font AvantGardeLTMedium:bold:size=10}${color FF8C00}\1 ${hr 2}$color${font}${voffset 1} 62 130 template1 USED \1: ${fs_used_perc \1}% ${alignr\ 80}${fs_bar\ \1} 63 131 template2 ${\1 name \2}${alignr}${\1 \3 \2} % … … 73 141 EQUIPO: $nodename 74 142 CLIENTE: ${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} 75 ARQUITECTURA: ${ exec uname -m > /tmp/architecture.txt}${if_match ${exec grep "x86_64" /tmp/architecture.txt -c}!=0}64 Bits${else}32 Bits${endif}143 ARQUITECTURA: ${if_match ${exec grep "x86_64" /tmp/architecture.txt -c}!=0}64 Bits${else}32 Bits${endif} 76 144 VERSION: ${exec cat /usr/share/lliurex-cdd/version} 77 145 ${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} … … 97 165 #IP: ${addrs eth0} 98 166 ${template3 eth0 ETH0}${template3 wlan0 WLAN0} 99 ${template3 e th1ETH1}${template3 wlan1 WLAN1}167 ${template3 enp0s8 ETH1}${template3 wlan1 WLAN1} 100 168 ${template3 eth2 ETH2}${template3 wlan2 WLAN2} 101 169 # HDD -
lliurex-conky/trunk/fuentes/lliurex-conky.install-files/usr/share/lliurex-conky/conkyrc_admins_base
r45 r53 1 1 #============================================================================== 2 # conkyrc_ GVA2 # conkyrc_admins 3 3 # 4 # author : Daniel Dur an Vecino daduve@gmail.com5 # version : v0.14 # author : Daniel Durán 5 # version : xenial 6 6 # license : Distributed under the terms of GNU GPL version 2 or later 7 7 # 8 8 #============================================================================== 9 background yes 10 own_window_colour grey 11 default_color black 12 use_xft yes 13 xftalpha 0.6 9 ### Begin Window Settings ################################################## 14 10 own_window yes 15 own_window_type override 11 own_window_class Conky 12 own_window_type desktop 16 13 own_window_transparent no 17 own_window_class Conky 18 #own_window_argb_visual yes 19 own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager 20 # 0 = transparent, 255 = solid 21 own_window_argb_value 160 22 no_buffers yes 23 cpu_avg_samples 2 14 own_window_colour black 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 200 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 24 double_buffer yes 25 update_interval 1 25 26 #minimum_size 600 500 ## width, height 27 #maximum_width 600 ## width, usually a good idea to equal minimum width 26 28 27 29 maximum_width 200 … … 30 32 gap_y 130 31 33 32 no_buffers yes33 uppercase no34 34 cpu_avg_samples 5 35 35 net_avg_samples 5 … … 37 37 if_up_strictness address 38 38 39 draw_shades no 40 draw_outline no 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.8 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 default_color white 76 77 ##################################################### End Color Settings ### 78 ### Borders Section ######################################################## 41 79 draw_borders no 80 # Stippled borders? 81 stippled_borders 0 82 # border margins 83 border_inner_margin 5 84 border_outer_margin 0 85 # border width 86 border_width 0 87 # graph borders 42 88 draw_graph_borders no 43 short_units true 44 use_spacer none 45 xftfont DejaVu Sans Mono:size=10 89 ##################################################### End Borders Secton ### 90 ### Miscellaneous Section ################################################## 46 91 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} 92 # Boolean value, if true, Conky will be forked to background when started. 93 background no 94 95 # Adds spaces around certain objects to stop them from moving other things 96 # around, this only helps if you are using a mono font 97 # Options: right, left or none 98 use_spacer right 99 100 # Default and Minimum size is 256 - needs more for single commands that 101 # "call" a lot of text IE: bash scripts 102 text_buffer_size 2048 103 104 # Subtract (file system) buffers from used memory? 105 no_buffers yes 106 107 # Temperature unit (default is Celsius) 108 temperature_unit fahrenheit 109 110 # change GiB to G and MiB to M 111 short_units yes 112 113 # Like it says, ot pads the decimals on % values 114 # doesn't seem to work since v1.7.1 115 pad_percents 2 116 117 # Maximum size of user text buffer, i.e. layout below TEXT line in config file 118 # (default is 16384 bytes) 119 # max_user_text 16384 120 121 ############################################## End Miscellaneous Section 58 122 59 123 60 template0 ${font Open Sans:Bold:size=10}${color blue}\1 ${hr 2}$color${font}${voffset 1} 124 xftfont DejaVu Sans Mono:size=10 125 ################### 126 #### TEMPLATES ###### 127 ################### 128 129 template0 ${font AvantGardeLTMedium:bold:size=10}${color FF8C00}\1 ${hr 2}$color${font}${voffset 1} 61 130 template1 USED \1: ${fs_used_perc \1}% ${alignr\ 80}${fs_bar\ \1} 62 131 template2 ${\1 name \2}${alignr}${\1 \3 \2} % 63 template3 ${if_up \1}\n${template0 \2}\nIP ${alignr 9} ${addrs \1}\nDLS:${downspeed \1} kb/s\nULS:${upspeed \1} kb/s$endif 64 template5 ${if_up \1}\n${template0 \2}\nIP ${alignr 9} ${addrs \1}\nDLS:${downspeed \1} kb/s$endif 65 template6 ${if_up \1}\n${template0 \2}\nIP ${alignr 9} ${addrs \1}\nULS:${upspeed \1} kb/s$endif 66 template7 ${if_up \1}\n${template0 \2}\nIP ${alignr 9} ${addrs \1}$endif 132 template3 ${if_up \1}${template0 \2}\nIP ${alignr 9} ${addrs \1}\nDLS:${downspeed \1} kb/s\nULS:${upspeed \1} kb/s$endif 67 133 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 68 template5 MIRROR \1: 134 template5 MIRROR \1:${exec cat /tmp/mirror_version.txt | grep 'VERSION \1' | cut -d ":" -f2 | xargs} 69 135 template6 MIRROR DUAL:${exec cat /tmp/mirror_version.txt | grep 'VERSION 32' | cut -d ":" -f2 | xargs} 70 136 -
lliurex-conky/trunk/fuentes/lliurex-conky.install-files/usr/share/lliurex-conky/conkyrc_gui
r45 r53 262 262 if [[ $SELECTION == *EQUIPO* ]] ; then echo ''$MSG_HOSTNAME': $nodename' >> $CONKYRC_USED;fi 263 263 if [[ $SELECTION == *CLIENTE* ]] ; then echo ''$MSG_CLIENT': ${if_match ${exec grep "server" /tmp/conky-test.txt -c}!=0}${if_empty ${exec echo $DISPLAY | cut -d ":" -f 1}}'$MSG_SERVER_PANEL'${else}'$MSG_LIGERO_PANEL'${endif}${else}${if_match ${exec grep "client" /tmp/conky-test.txt -c}!=0}${if_empty ${exec cat /tmp/conky-test-fat.txt | grep true }}'$MSG_PESADO_PANEL'${else}'$MSG_SEMILIGERO_PANEL'${endif}${else}'$MSG_DESKTOP_PANEL'${endif}${endif}' >> $CONKYRC_USED;fi 264 if [[ $SELECTION == *ARQUITECTURA* ]] ; then echo ''$MSG_ARCHITECTURE': ${ exec uname -m > /tmp/architecture.txt}${if_match ${exec grep "x86_64" /tmp/architecture.txt -c}!=0}64 Bits${else}32 Bits${endif}' >> $CONKYRC_USED;fi264 if [[ $SELECTION == *ARQUITECTURA* ]] ; then echo ''$MSG_ARCHITECTURE': ${if_match ${exec grep "x86_64" /tmp/architecture.txt -c}!=0}64 Bits${else}32 Bits${endif}' >> $CONKYRC_USED;fi 265 265 if [[ $SELECTION == *VERSION* ]] ; then echo ''$MSG_VERSION': ${exec cat /usr/share/lliurex-cdd/version}' >> $CONKYRC_USED;fi 266 266 if [[ $SELECTION == *MIRROR_VERSION* ]] ; then echo '${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}' >> $CONKYRC_USED;fi … … 309 309 if [[ $SELECTION == *EQUIPO* ]] ; then echo ''$MSG_HOSTNAME': $nodename' >> $CONKYRC_USED;fi 310 310 if [[ $SELECTION == *CLIENTE* ]] ; then echo ''$MSG_CLIENT': ${if_match ${exec grep "server" /tmp/conky-test.txt -c}!=0}${if_empty ${exec echo $DISPLAY | cut -d ":" -f 1}}'$MSG_SERVER_PANEL'${else}'$MSG_LIGERO_PANEL'${endif}${else}${if_match ${exec grep "client" /tmp/conky-test.txt -c}!=0}${if_empty ${exec cat /tmp/conky-test-fat.txt | grep true }}'$MSG_PESADO_PANEL'${else}'$MSG_SEMILIGERO_PANEL'${endif}${else}'$MSG_DESKTOP_PANEL'${endif}${endif}' >> $CONKYRC_USED;fi 311 if [[ $SELECTION == *ARQUITECTURA* ]] ; then echo ''$MSG_ARCHITECTURE': ${ exec uname -m > /tmp/architecture.txt}${if_match ${exec grep "x86_64" /tmp/architecture.txt -c}!=0}64 Bits${else}32 Bits${endif}' >> $CONKYRC_USED;fi311 if [[ $SELECTION == *ARQUITECTURA* ]] ; then echo ''$MSG_ARCHITECTURE': ${if_match ${exec grep "x86_64" /tmp/architecture.txt -c}!=0}64 Bits${else}32 Bits${endif}' >> $CONKYRC_USED;fi 312 312 if [[ $SELECTION == *VERSION* ]] ; then echo ''$MSG_VERSION': ${exec cat /usr/share/lliurex-cdd/version}' >> $CONKYRC_USED;fi 313 313 if [[ $SELECTION == *IP_ADDRESS* ]] ; then echo '$hr${template1 eth0 ETH0}${template1 eth1 ETH1}${template1 eth2 ETH2}${template1 eth3 ETH3}${template1 eth4 ETH4}'>> $CONKYRC_USED;fi -
lliurex-conky/trunk/fuentes/lliurex-conky.install-files/usr/share/lliurex-conky/conkyrc_students
r45 r53 3 3 # 4 4 # author : Daniel Durán 5 # version : v0.55 # version : xenial 6 6 # license : Distributed under the terms of GNU GPL version 2 or later 7 7 # 8 8 #============================================================================== 9 #if_running clementine}# Use Xft? 9 ### Begin Window Settings ################################################## 10 own_window yes 11 own_window_class Conky 12 own_window_type desktop 13 own_window_transparent yes 14 own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager 15 own_window_title LLIUREX_CONKY 16 17 # Use the Xdbe extension? (eliminates flicker) 18 # It is highly recommended to use own window with this one 19 # so double buffer won't be so big. 20 double_buffer yes 21 22 #minimum_size 600 500 ## width, height 23 #maximum_width 600 ## width, usually a good idea to equal minimum width 24 25 gap_x 30 ### left &right 26 gap_y 250 ### up & down 27 28 alignment bottom_right 29 total_run_times 0 30 update_interval 1 31 #################################################### End Window Settings ### 32 ### Font Settings ########################################################## 33 # Use Xft (anti-aliased font and stuff) 10 34 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 35 36 # Alpha of Xft font. Must be a value at or between 1 and 0 ### 17 37 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 38 # Force UTF8? requires XFT ### 39 override_utf8_locale yes 22 40 41 draw_shades no #### <<<<<<------------------To see it easier on light screens. 42 #default_shade_color black 23 43 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 44 draw_outline no #### <<<<<<---------------- Amplifies text if yes 45 default_outline_color black 29 46 47 uppercase no 48 ###################################################### End Font Settings ### 49 ### Color Settings ######################################################### 50 #default_shade_color gray 51 #default_outline_color black 30 52 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 53 #default_color DCDCDC #220 220 220 Gainsboro 54 #color0 8FBC8F #143 188 143 DarkSeaGreen 55 #color1 778899 #119 136 153 LightSlateGray 56 #color2 FF8C00 #255 140 0 DarkOrange 57 #color3 7FFF00 #127 255 0 Chartreuse 58 #color4 FFA07A #255 160 122 LightSalmon 59 #color5 FFDEAD #255 222 173 NavajoWhite 60 #color6 00BFFF # 0 191 255 DeepSkyBlue 61 #color7 00FFFF # 0 255 255 Cyan 62 #color8 FFFF00 #255 255 0 Yellow 63 #color9 FF0000 #255 0 0 Red 38 64 39 # Draw outlines? 40 draw_outline no 41 42 # Draw borders around text65 default_color white 66 font AvantGardeLTMedium:bold:size=12 67 ##################################################### End Color Settings ### 68 ### Borders Section ######################################################## 43 69 draw_borders no 44 45 70 # Stippled borders? 46 71 stippled_borders 0 72 # border margins 73 border_inner_margin 5 74 border_outer_margin 0 75 # border width 76 border_width 0 77 # graph borders 78 draw_graph_borders no 79 ##################################################### End Borders Secton ### 80 ### Miscellaneous Section ################################################## 47 81 48 # border margins49 #border_margin 5 82 # Boolean value, if true, Conky will be forked to background when started. 83 background no 50 84 51 # border width 52 border_width 1 85 # Adds spaces around certain objects to stop them from moving other things 86 # around, this only helps if you are using a mono font 87 # Options: right, left or none 88 use_spacer right 53 89 90 # Default and Minimum size is 256 - needs more for single commands that 91 # "call" a lot of text IE: bash scripts 92 text_buffer_size 2048 54 93 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? 94 # Subtract (file system) buffers from used memory? 61 95 no_buffers yes 62 96 97 # Temperature unit (default is Celsius) 98 temperature_unit fahrenheit 63 99 64 # set to yes if you want all text to be in uppercase65 uppercase no 100 # change GiB to G and MiB to M 101 short_units yes 66 102 103 # Like it says, ot pads the decimals on % values 104 # doesn't seem to work since v1.7.1 105 pad_percents 2 67 106 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 107 # Maximum size of user text buffer, i.e. layout below TEXT line in config file 108 # (default is 16384 bytes) 109 # max_user_text 16384 76 110 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 111 ############################################## End Miscellaneous Section 89 112 90 113 … … 94 117 $hr 95 118 USUARIO: $LOGNAME 96 EQUIPO: $nodename 119 EQUIPO: $nodename 97 120 CLIENTE:${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} 98 121 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 e th1ETH1}${template1 eth2 ETH2}${template1 eth3 ETH3}${template1 eth4 ETH4}122 ARQUITECTURA: ${if_match ${exec grep "x86_64" /tmp/architecture.txt -c}!=0}64 Bits${else}32 Bits${endif} 123 $hr${template1 eth0 ETH0}${template1 enp0s8 ETH1}${template1 eth2 ETH2}${template1 eth3 ETH3}${template1 eth4 ETH4} 101 124 $hr -
lliurex-conky/trunk/fuentes/lliurex-conky.install-files/usr/share/lliurex-conky/conkyrc_students_base
r45 r53 3 3 # 4 4 # author : Daniel Durán 5 # version : v0.55 # version : xenial 6 6 # license : Distributed under the terms of GNU GPL version 2 or later 7 7 # 8 8 #============================================================================== 9 #if_running clementine}# Use Xft? 9 ### Begin Window Settings ################################################## 10 own_window yes 11 own_window_class Conky 12 own_window_type desktop 13 own_window_transparent yes 14 own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager 15 own_window_title LLIUREX_CONKY 16 17 # Use the Xdbe extension? (eliminates flicker) 18 # It is highly recommended to use own window with this one 19 # so double buffer won't be so big. 20 double_buffer yes 21 22 #minimum_size 600 500 ## width, height 23 #maximum_width 600 ## width, usually a good idea to equal minimum width 24 25 gap_x 30 ### left &right 26 gap_y 250 ### up & down 27 28 alignment bottom_right 29 total_run_times 0 30 update_interval 1 31 #################################################### End Window Settings ### 32 ### Font Settings ########################################################## 33 # Use Xft (anti-aliased font and stuff) 10 34 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 35 36 # Alpha of Xft font. Must be a value at or between 1 and 0 ### 17 37 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 38 # Force UTF8? requires XFT ### 39 override_utf8_locale yes 22 40 41 draw_shades no #### <<<<<<------------------To see it easier on light screens. 42 #default_shade_color black 23 43 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 44 draw_outline no #### <<<<<<---------------- Amplifies text if yes 45 default_outline_color black 29 46 47 uppercase no 48 ###################################################### End Font Settings ### 49 ### Color Settings ######################################################### 50 #default_shade_color gray 51 #default_outline_color black 30 52 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 53 #default_color DCDCDC #220 220 220 Gainsboro 54 #color0 8FBC8F #143 188 143 DarkSeaGreen 55 #color1 778899 #119 136 153 LightSlateGray 56 #color2 FF8C00 #255 140 0 DarkOrange 57 #color3 7FFF00 #127 255 0 Chartreuse 58 #color4 FFA07A #255 160 122 LightSalmon 59 #color5 FFDEAD #255 222 173 NavajoWhite 60 #color6 00BFFF # 0 191 255 DeepSkyBlue 61 #color7 00FFFF # 0 255 255 Cyan 62 #color8 FFFF00 #255 255 0 Yellow 63 #color9 FF0000 #255 0 0 Red 38 64 39 # Draw outlines? 40 draw_outline no 41 42 # Draw borders around text65 default_color white 66 font AvantGardeLTMedium:bold:size=12 67 ##################################################### End Color Settings ### 68 ### Borders Section ######################################################## 43 69 draw_borders no 44 45 70 # Stippled borders? 46 71 stippled_borders 0 72 # border margins 73 border_inner_margin 5 74 border_outer_margin 0 75 # border width 76 border_width 0 77 # graph borders 78 draw_graph_borders no 79 ##################################################### End Borders Secton ### 80 ### Miscellaneous Section ################################################## 47 81 48 # border margins49 #border_margin 5 82 # Boolean value, if true, Conky will be forked to background when started. 83 background no 50 84 51 # border width 52 border_width 1 85 # Adds spaces around certain objects to stop them from moving other things 86 # around, this only helps if you are using a mono font 87 # Options: right, left or none 88 use_spacer right 53 89 90 # Default and Minimum size is 256 - needs more for single commands that 91 # "call" a lot of text IE: bash scripts 92 text_buffer_size 2048 54 93 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? 94 # Subtract (file system) buffers from used memory? 61 95 no_buffers yes 62 96 97 # Temperature unit (default is Celsius) 98 temperature_unit fahrenheit 63 99 64 # set to yes if you want all text to be in uppercase65 uppercase no 100 # change GiB to G and MiB to M 101 short_units yes 66 102 103 # Like it says, ot pads the decimals on % values 104 # doesn't seem to work since v1.7.1 105 pad_percents 2 67 106 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 107 # Maximum size of user text buffer, i.e. layout below TEXT line in config file 108 # (default is 16384 bytes) 109 # max_user_text 16384 76 110 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 111 ############################################## End Miscellaneous Section 89 112 90 113 -
lliurex-conky/trunk/fuentes/lliurex-conky.install-files/usr/share/lliurex-conky/lliurex-conky
r45 r53 35 35 ##Comprobación por máquina 36 36 ##Activa Actualmente 37 37 uname -m > architecture.txt 38 38 lliurex-version > /tmp/conky-test.txt 39 39 echo $LTSP_FATCLIENT > /tmp/conky-test-fat.txt
Note: See TracChangeset
for help on using the changeset viewer.