]> git.armaanb.net Git - bin.git/commitdiff
Audio-set: Cut front from notification
authorArmaan Bhojwani <me@armaanb.net>
Fri, 29 Jan 2021 03:26:28 +0000 (22:26 -0500)
committerArmaan Bhojwani <me@armaanb.net>
Fri, 29 Jan 2021 03:26:28 +0000 (22:26 -0500)
audio-set

index 572bdf522f464d91d4d7460ea599eb98ee59ad16..bce49e93084b0459aef83c0be3b80d1c7320c5c0 100755 (executable)
--- a/audio-set
+++ b/audio-set
@@ -9,4 +9,4 @@ else
   pactl set-sink-mute 0 toggle
 fi
 
-notify-send "Volume" "$(amixer sget Master | tail -n 1)" -t 1000
+notify-send "Volume" "$(amixer sget Master | tail -n 1 | tail -c +21)" -t 1000