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 --- volume | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'volume') diff --git a/volume b/volume index 6852577..8dcd36a 100755 --- a/volume +++ b/volume @@ -2,9 +2,12 @@ # Change volume and notify # Usage: volume {+n|-n} -# Requires: pulsemixer, notify-send +# Requires: pulsemixer, notify-send or similar -#TODO: use this to replace myvolumeup/myvolumedown +#notify=notify-send +notify=herbe newvol=$(pulsemixer --change-volume "$1" --get-volume | awk '{print $1}') -notify-send "Volume" "$newvol%" + +pkill herbe # comment this line too if not using herbe +$notify "Volume" "$newvol%" -- cgit v1.3