Ignore:
Timestamp:
Jan 28, 2016, 9:41:47 AM (4 years ago)
Author:
daduve
Message:

New scripts for xenial

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-conky/trunk/fuentes/lliurex-conky.install-files/usr/share/lliurex-conky/conkyrc_admins

    r45 r53  
    11#==============================================================================
    2 # conkyrc_GVA
     2# conkyrc_admins
    33#
    4 # author : Daniel Duran Vecino daduve@gmail.com
    5 # version : v0.1
     4# author : Daniel Durán
     5# version : xenial
    66# license : Distributed under the terms of GNU GPL version 2 or later
    77#
    88#==============================================================================
    9 background yes
    10 own_window_colour grey
    11 default_color black
    12 use_xft yes
    13 xftalpha 0.6
     9###  Begin Window Settings  ##################################################
    1410own_window yes
    15 own_window_type override
     11own_window_class Conky
     12own_window_type desktop
    1613own_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
     14own_window_colour black
     15own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
     16own_window_title LLIUREX_CONKY
     17own_window_argb_visual yes
     18own_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.
    2424double_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
    2628
    2729maximum_width 200
     
    3032gap_y 130
    3133
    32 no_buffers yes
    33 uppercase no
    3434cpu_avg_samples 5
    3535net_avg_samples 5
     
    3737if_up_strictness address
    3838
    39 draw_shades no
    40 draw_outline no
     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
     55default_outline_color black
     56
     57uppercase 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
     75default_color white
     76
     77#####################################################  End Color Settings  ###
     78###  Borders Section  ########################################################
    4179draw_borders no
     80# Stippled borders?
     81stippled_borders 0
     82# border margins
     83border_inner_margin 5
     84border_outer_margin 0
     85# border width
     86border_width 0
     87# graph borders
    4288draw_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  ##################################################
    4691
    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.
     93background 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
     98use_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
     102text_buffer_size 2048
     103
     104# Subtract (file system) buffers from used memory?
     105no_buffers yes
     106
     107# Temperature unit (default is Celsius)
     108temperature_unit fahrenheit
     109
     110# change GiB to G and MiB to M
     111short_units yes
     112
     113# Like it says, ot pads the decimals on % values
     114# doesn't seem to work since v1.7.1
     115pad_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 
    58122
    59123
     124xftfont DejaVu Sans Mono:size=10
     125###################
     126####  TEMPLATES   ######
     127###################
    60128
    61 template0 ${font Open Sans:Bold:size=10}${color blue}\1 ${hr 2}$color${font}${voffset 1}
     129template0 ${font AvantGardeLTMedium:bold:size=10}${color FF8C00}\1 ${hr 2}$color${font}${voffset 1}
    62130template1 USED \1: ${fs_used_perc \1}% ${alignr\ 80}${fs_bar\ \1}
    63131template2 ${\1 name \2}${alignr}${\1 \3 \2} %
     
    73141EQUIPO: $nodename
    74142CLIENTE: ${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}
     143ARQUITECTURA: ${if_match ${exec grep "x86_64" /tmp/architecture.txt -c}!=0}64 Bits${else}32 Bits${endif}
    76144VERSION: ${exec cat /usr/share/lliurex-cdd/version}
    77145${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}
     
    97165#IP: ${addrs eth0}
    98166${template3 eth0 ETH0}${template3 wlan0 WLAN0}
    99 ${template3 eth1 ETH1}${template3 wlan1 WLAN1}
     167${template3 enp0s8 ETH1}${template3 wlan1 WLAN1}
    100168${template3 eth2 ETH2}${template3 wlan2 WLAN2}
    101169# HDD
Note: See TracChangeset for help on using the changeset viewer.