diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-04-16 21:40:35 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-04-16 21:40:35 +0200 |
commit | bd1e9cdb2ac7e7e701e67a6c06b3816fd2609789 (patch) | |
tree | 1ce5e9caf111626988149d70429ca9e5ee4af2ee /bin/guiscripts/dmvol | |
parent | d7e31fd34069c7222c956459cc799c6d07bd4b5e (diff) |
renamed dmvol
Diffstat (limited to 'bin/guiscripts/dmvol')
-rwxr-xr-x | bin/guiscripts/dmvol | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/bin/guiscripts/dmvol b/bin/guiscripts/dmvol deleted file mode 100755 index 0f36e18..0000000 --- a/bin/guiscripts/dmvol +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -if [ "$MENUCMD" = "tofi" ] -then - menucmd="tofi --width 5% --height 10% --prompt-text" -elif [ "$MENUCMD" = "dmenu" ] -then - menucmd="dmenu -g 2 -l 1 -p" -else - menucmd="fzf --prompt" -fi - -while true -do - volume="$(mpc volume | awk '{print $2}' | cut -f1 -d'%')" - choice="$(echo "plus\nmin" | - $menucmd "$volume" | - sed 's/plus/+/;s/min/-/')" - test -z "$choice" && break - nb="$($menucmd "$volume$choice" < /dev/null)" - test -z "$nb" && break - mpc volume "$choice$nb" -done |