[45] | 1 | #============================================================================== |
---|
| 2 | # conkyrc_students |
---|
| 3 | # |
---|
| 4 | # author : Daniel Durán |
---|
[53] | 5 | # version : xenial |
---|
[45] | 6 | # license : Distributed under the terms of GNU GPL version 2 or later |
---|
| 7 | # |
---|
| 8 | #============================================================================== |
---|
[53] | 9 | ### Begin Window Settings ################################################## |
---|
| 10 | own_window yes |
---|
| 11 | own_window_class Conky |
---|
[2008] | 12 | own_window_type dock |
---|
[53] | 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) |
---|
[45] | 34 | use_xft yes |
---|
[53] | 35 | |
---|
| 36 | # Alpha of Xft font. Must be a value at or between 1 and 0 ### |
---|
[45] | 37 | xftalpha 0.8 |
---|
[53] | 38 | # Force UTF8? requires XFT ### |
---|
| 39 | override_utf8_locale yes |
---|
[45] | 40 | |
---|
[53] | 41 | draw_shades no #### <<<<<<------------------To see it easier on light screens. |
---|
| 42 | #default_shade_color black |
---|
[45] | 43 | |
---|
[53] | 44 | draw_outline no #### <<<<<<---------------- Amplifies text if yes |
---|
| 45 | default_outline_color black |
---|
[45] | 46 | |
---|
[53] | 47 | uppercase no |
---|
| 48 | ###################################################### End Font Settings ### |
---|
| 49 | ### Color Settings ######################################################### |
---|
| 50 | #default_shade_color gray |
---|
| 51 | #default_outline_color black |
---|
[45] | 52 | |
---|
[53] | 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 |
---|
[45] | 64 | |
---|
[53] | 65 | default_color white |
---|
| 66 | font AvantGardeLTMedium:bold:size=12 |
---|
| 67 | ##################################################### End Color Settings ### |
---|
| 68 | ### Borders Section ######################################################## |
---|
[45] | 69 | draw_borders no |
---|
| 70 | # Stippled borders? |
---|
| 71 | stippled_borders 0 |
---|
| 72 | # border margins |
---|
[53] | 73 | border_inner_margin 5 |
---|
| 74 | border_outer_margin 0 |
---|
[45] | 75 | # border width |
---|
[53] | 76 | border_width 0 |
---|
| 77 | # graph borders |
---|
| 78 | draw_graph_borders no |
---|
| 79 | ##################################################### End Borders Secton ### |
---|
| 80 | ### Miscellaneous Section ################################################## |
---|
[45] | 81 | |
---|
[53] | 82 | # Boolean value, if true, Conky will be forked to background when started. |
---|
| 83 | background no |
---|
[45] | 84 | |
---|
[53] | 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 |
---|
[45] | 89 | |
---|
[53] | 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 |
---|
[45] | 93 | |
---|
[53] | 94 | # Subtract (file system) buffers from used memory? |
---|
[45] | 95 | no_buffers yes |
---|
| 96 | |
---|
[53] | 97 | # Temperature unit (default is Celsius) |
---|
| 98 | temperature_unit fahrenheit |
---|
[45] | 99 | |
---|
[53] | 100 | # change GiB to G and MiB to M |
---|
| 101 | short_units yes |
---|
[45] | 102 | |
---|
[53] | 103 | # Like it says, ot pads the decimals on % values |
---|
| 104 | # doesn't seem to work since v1.7.1 |
---|
| 105 | pad_percents 2 |
---|
[45] | 106 | |
---|
[53] | 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 |
---|
[45] | 110 | |
---|
[53] | 111 | ############################################## End Miscellaneous Section |
---|
[45] | 112 | |
---|
| 113 | |
---|
| 114 | template1 ${if_up \1}\n IP \2:$alignr ${addrs \1}$endif |
---|
| 115 | |
---|
| 116 | TEXT |
---|
| 117 | $hr |
---|
| 118 | USUARIO: $LOGNAME |
---|
[53] | 119 | EQUIPO: $nodename |
---|
[45] | 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} |
---|
[1982] | 121 | VERSION: ${exec lliurex-version | awk -F ',' '{print $3}'} |
---|
[53] | 122 | ARQUITECTURA: ${if_match ${exec grep "x86_64" /tmp/architecture.txt -c}!=0}64 Bits${else}32 Bits${endif} |
---|
[57] | 123 | $hr${template1 eth0 ETH0}${template1 enp0s8 ETH1}${template1 eth2 ETH2}${template1 eth3 ETH3}${template1 eth4 ETH4} |
---|
[45] | 124 | $hr |
---|