From 6f45972265b532365421658f1370742bb82b757b Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Wed, 9 Feb 2022 19:50:38 +0100 Subject: Changed default notification system to herbe --- togglemute | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'togglemute') diff --git a/togglemute b/togglemute index d952676..b799b02 100755 --- a/togglemute +++ b/togglemute @@ -1,7 +1,10 @@ #!/bin/sh # Toggle mute state and notify -# Requires: pulsemixer, notify-send +# Requires: pulsemixer, notify-send or similar + +#notify=notify-send +notify=herbe ismute=$(pulsemixer --toggle-mute --get-mute) @@ -11,4 +14,5 @@ else m="unmuted" fi -notify-send "Audio $m" +pkill herbe # comment this line too if not using herbe +$notify "Audio $m" -- cgit v1.3