Changeset 5101


Ignore:
Timestamp:
Jun 6, 2017, 5:21:33 PM (2 years ago)
Author:
daduve
Message:

Conky save the personal skin in your home

Location:
lliurex-conky/trunk/fuentes
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • lliurex-conky/trunk/fuentes/debian/changelog

    r5071 r5101  
     1lliurex-conky (0.75) xenial; urgency=high
     2
     3  * Now conky saves the personal skin in your home
     4
     5 -- Daniel Duran Vecino <daduve@gmail.com>  Tue, 06 Jun 2017 17:20:24 +0200
     6
    17lliurex-conky (0.74) xenial; urgency=high
    28
  • lliurex-conky/trunk/fuentes/lliurex-conky.install-files/usr/share/lliurex-conky/conkyrc_gui

    r4942 r5101  
    99CONKYRC_STUDENTS=$FILE_PATH/conkyrc_students
    1010CONKYRC_STUDENTS_BASE=$FILE_PATH/conkyrc_students_base
    11 CONKYRC_USED=$FILE_PATH/conkyrc_used
     11#CONKYRC_USED=$FILE_PATH/conkyrc_used
     12CONKYRC_USED=$HOME/.config/lliurex-conky/conkyrc_used
    1213
    1314
     
    386387##########PROGRAMA PRINCIPAL############
    387388zero-center add-pulsating-color lliurex-conky
     389if [[ ! -e $HOME/.config/lliurex-conky ]]; then
     390        mkdir -p $HOME/.config/lliurex-conky
     391fi
     392
     393if [[ ! -f /tmp/architecture.txt ]]; then
     394        touch /tmp/architecture.txt
     395        chmod 777 /tmp/architecture.txt
     396fi
     397
     398uname -m > /tmp/architecture.txt
     399
    388400killall conky
    389401avaiable
     
    394406        change_colour
    395407        server_rc
    396         rm $CONKYRC_USED
     408        if [[ -f $CONKYRC_USED ]]; then
     409                rm $CONKYRC_USED
     410        fi
    397411        cp $CONKYRC_ADMIN_BASE $CONKYRC_USED
    398412        echo "" >>$CONKYRC_USED
     
    491505        change_colour
    492506        student_rc
    493         rm $CONKYRC_USED
     507        if [[ -f $CONKYRC_USED ]]; then
     508                rm $CONKYRC_USED
     509        fi
    494510        cp $CONKYRC_STUDENTS_BASE $CONKYRC_USED
    495511       
  • lliurex-conky/trunk/fuentes/lliurex-conky.install-files/usr/share/lliurex-conky/lliurex-conky

    r5067 r5101  
    88CONKYRC_TEACHERS=$FILE_PATH/conkyrc_teachers
    99CONKYRC_STUDENTS=$FILE_PATH/conkyrc_students
    10 CONKYRC_USED=$FILE_PATH/conkyrc_used
     10CONKYRC_USED=$HOME/.config/lliurex-conky/conkyrc_used
    1111
    1212##Comprobación por usuario
     
    3535##Comprobación por máquina
    3636##Activa Actualmente
     37if [[ ! -f /tmp/architecture.txt ]]; then
     38        touch /tmp/architecture.txt
     39        chmod 777 /tmp/architecture.txt
     40fi
    3741
    3842uname -m > /tmp/architecture.txt
    39 chmod 777 /tmp/architecture.txt
     43
    4044
    4145lliurex-version > /tmp/conky-test.txt
     
    137141####Segun si he modificado el conky a mano o no arranco de un modo u otro.
    138142
    139 if grep -q '#modified_by_user' $CONKYRC_USED > /dev/null
     143if [[ -f $CONKYRC_USED ]]
    140144then
    141145        echo "Do nothing with $CONKYRC_USED"
  • lliurex-conky/trunk/fuentes/lliurex-conky.zlaunchers/lliurex-conky.app

    r45 r5101  
    1010Category=Software
    1111ScriptPath=lliurex-conky.zmd
    12 Groups=adm;admins;teachers
     12Groups=adm;admins;teachers;students
    1313Using=pe
Note: See TracChangeset for help on using the changeset viewer.