From 37d249b9d1013269f8433457fa54d9ede8bc01fa Mon Sep 17 00:00:00 2001 From: Breizh Date: Wed, 11 Dec 2019 00:49:58 +0100 Subject: [PATCH] =?UTF-8?q?M=C3=A0j=20conky?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/conky/conky_mount | 2 +- .config/conky/conkyrc1 | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/conky/conky_mount b/.config/conky/conky_mount index 91bdc17..519c5b5 100755 --- a/.config/conky/conky_mount +++ b/.config/conky/conky_mount @@ -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/* diff --git a/.config/conky/conkyrc1 b/.config/conky/conkyrc1 index b3f25fe..996aa5f 100644 --- a/.config/conky/conkyrc1 +++ b/.config/conky/conkyrc1 @@ -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}