From 82b536a8900b0c443412ba916d0a01f1158e1aff Mon Sep 17 00:00:00 2001 From: John Mertz Date: Mon, 6 Jun 2022 13:58:30 -0400 Subject: [PATCH] Disable notification timeout --- waybar/waybar-disk.sh | 2 +- waybar/waybar-mem.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/waybar/waybar-disk.sh b/waybar/waybar-disk.sh index 9800f5e..3c94bc8 100755 --- a/waybar/waybar-disk.sh +++ b/waybar/waybar-disk.sh @@ -1,6 +1,6 @@ #!/bin/bash -notify-send Disks \ +notify-send -t 0 Disks \ "$(lsblk -o NAME,SIZE,FSUSE%,MOUNTPOINT | grep -vP '^loop' | \ sed 's/MOUNTPOINT/MOUNT/' | sed -e 's/│ └─/+---/' | \ sed -e 's/ └─/+---/' | sed -e 's/├─/+-/' | sed -e 's/└─/+-/' | \ diff --git a/waybar/waybar-mem.sh b/waybar/waybar-mem.sh index 02cf10a..7827b15 100755 --- a/waybar/waybar-mem.sh +++ b/waybar/waybar-mem.sh @@ -1,5 +1,5 @@ #!/bin/bash -notify-send 'Memory Usage' "`free -h | \ +notify-send -t 0 'Memory Usage' "`free -h | \ awk '{printf(\"%6s %6s %6s %6s\n\", $1, $2, $3, $4)}' | \ sed -r 's/(.*) shared$/ \1/'`"