From 4391297a9b763cfc5f6873f50e26d6548a572f4f Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Mon, 24 Dec 2018 21:35:29 +0100 Subject: Notifications for volume and brightness now replace themselves. --- brightness.sh | 2 +- vol.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/brightness.sh b/brightness.sh index 5e4304b..e94249c 100755 --- a/brightness.sh +++ b/brightness.sh @@ -24,5 +24,5 @@ else #echo "New brightness: $target/$maxbrightness" fi -notify-send -t 500 "$(~/scripts/i3blocks/i3brightness.sh)" +notify-send -h string:x-canonical-private-synchronous:vol -t 500 "$(~/scripts/i3blocks/i3brightness.sh)" pkill -SIGRTMIN+11 i3blocks diff --git a/vol.sh b/vol.sh index 61fbe6f..d925e78 100755 --- a/vol.sh +++ b/vol.sh @@ -6,5 +6,5 @@ else pactl set-sink-volume $sink $1% fi -notify-send -t 500 "$(~/scripts/i3blocks/i3vol.sh)" +notify-send -h string:x-canonical-private-synchronous:vol -t 500 "$(~/scripts/i3blocks/i3vol.sh)" pkill -SIGRTMIN+10 i3blocks -- cgit v1.2.1