From: Armaan Bhojwani Date: Wed, 3 Feb 2021 15:19:48 +0000 (-0500) Subject: Audio-set: switch to cut for parsing volume X-Git-Tag: v0.0.1~47 X-Git-Url: https://git.armaanb.net/?p=bin.git;a=commitdiff_plain;h=ef5839d87a19abf3f7b7ab8e0488e78e48a45ae5 Audio-set: switch to cut for parsing volume --- diff --git a/audio-set b/audio-set index bce49e9..e916889 100755 --- 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 | tail -c +21)" -t 1000 +notify-send "Volume" "$(amixer sget Master | tail -n 1 | cut -d ' ' -f 7-)" -t 1000