aboutsummaryrefslogtreecommitdiff
path: root/vol.sh
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2024-02-13 13:21:05 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2024-02-13 13:21:05 +0100
commitdf55f83d1394842559abfa3ebb883dc4ce99975b (patch)
tree35cd1f6a0e5e31cd55ded0ae86b9f297881253c1 /vol.sh
parentfc529f9632144037b416e965f0c941fecde277fc (diff)
downloadscripts-df55f83d1394842559abfa3ebb883dc4ce99975b.tar.gz
scripts-df55f83d1394842559abfa3ebb883dc4ce99975b.zip
Minor adjustments to cmusShow.sh and vol.sh.
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 \