Màj conky

This commit is contained in:
Breizh 2019-12-11 00:49:58 +01:00
parent 447672d70c
commit 37d249b9d1
2 changed files with 4 additions and 1 deletions

View file

@ -4,8 +4,8 @@ if [[ "$1" == "es" ]]
then
for disk in /dev/sd?
do
[[ "$disk" == "/dev/sda" ]] && continue
echo '${voffset 2}Lecture '$(basename $disk)' ${diskio_read '$(basename $disk)'}${goto 140}Écriture '$(basename $disk)' ${diskio_write '$(basename $disk)'}'
echo '${diskiograph_read '$(basename $disk)' 26,125}$alignr${diskiograph_write '$(basename $disk)' 26,125}'
done
else
for dir in /run/media/breizh/*

View file

@ -67,7 +67,10 @@ ${template1 5}
#${template1 10}
${color2}${font2}Disque E/S $hr${font}${color}
${voffset 2}Lecture sda ${diskio_read sda}${goto 140}Écriture sda ${diskio_write sda}
${diskiograph_read sda 26,125}$alignr${diskiograph_write sda 26,125}
${execpi 5 /home/breizh/.config/conky/conky_mount es}
${template2 1}
${template2 2}
${template2 3}