diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2018-12-24 21:35:29 +0100 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2018-12-24 21:35:29 +0100 |
commit | 4391297a9b763cfc5f6873f50e26d6548a572f4f (patch) | |
tree | f96da1cd337304128cf0e0bc534da83935ac4352 | |
parent | 4027bc1a53023317819b2ee5584664d3a5264b17 (diff) | |
download | scripts-4391297a9b763cfc5f6873f50e26d6548a572f4f.tar.gz scripts-4391297a9b763cfc5f6873f50e26d6548a572f4f.zip |
Notifications for volume and brightness now replace themselves.
-rwxr-xr-x | brightness.sh | 2 | ||||
-rwxr-xr-x | 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 @@ -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 |