aboutsummaryrefslogtreecommitdiff
path: root/vol.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vol.sh')
-rwxr-xr-xvol.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/vol.sh b/vol.sh
index 6b8081f..b40f380 100755
--- a/vol.sh
+++ b/vol.sh
@@ -9,7 +9,7 @@ else
fi
text="$(~/scripts/i3blocks/i3vol.sh)"
-vol="$(echo "$text" | cut -d' ' -f2-)"
+vol="$(echo "$text" | grep -Eo '[0-9]+')"
dunstify -r "$(dunstifyIDs.sh "vol")" \
-t 500 \