aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2018-12-24 21:35:29 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2018-12-24 21:35:29 +0100
commit4391297a9b763cfc5f6873f50e26d6548a572f4f (patch)
treef96da1cd337304128cf0e0bc534da83935ac4352
parent4027bc1a53023317819b2ee5584664d3a5264b17 (diff)
downloadscripts-4391297a9b763cfc5f6873f50e26d6548a572f4f.tar.gz
scripts-4391297a9b763cfc5f6873f50e26d6548a572f4f.zip
Notifications for volume and brightness now replace themselves.
-rwxr-xr-xbrightness.sh2
-rwxr-xr-xvol.sh2
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