diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2024-02-13 11:54:59 +0100 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2024-02-13 11:54:59 +0100 |
commit | 25808c12e41337e6c6b2dd7dc4c7db6b5bebfe6a (patch) | |
tree | 5cb9321af043e9be61a95f144401d3e671b9ea0e /vol.sh | |
parent | 52f5c1d727bf07de425dae724c2da54b21cc0374 (diff) | |
download | scripts-25808c12e41337e6c6b2dd7dc4c7db6b5bebfe6a.tar.gz scripts-25808c12e41337e6c6b2dd7dc4c7db6b5bebfe6a.zip |
Updated cmusShow.sh and vol.sh to give more info.
Diffstat (limited to 'vol.sh')
-rwxr-xr-x | vol.sh | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -8,5 +8,12 @@ else pactl set-sink-volume "$sink" "$1%" fi -dunstify -r "$(dunstifyIDs.sh "vol")" -t 500 "$(~/scripts/i3blocks/i3vol.sh)" +text="$(~/scripts/i3blocks/i3vol.sh)" +vol="$(echo "$text" | cut -d' ' -f2-)" + +dunstify -r "$(dunstifyIDs.sh "vol")" \ + -t 500 \ + -h "int:value:${vol}" \ + "$text" + [ -n "$STATUS_BAR" ] && pkill -SIGRTMIN+10 "$STATUS_BAR" |