From 84ac9a70cc70272ee181aa0a3e0276fc8de673fd Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Sun, 12 Mar 2023 18:44:39 +0100 Subject: added more guiscripts --- bin/guiscripts/dmvol | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 bin/guiscripts/dmvol (limited to 'bin/guiscripts/dmvol') diff --git a/bin/guiscripts/dmvol b/bin/guiscripts/dmvol new file mode 100755 index 0000000..ccbf46b --- /dev/null +++ b/bin/guiscripts/dmvol @@ -0,0 +1,10 @@ +#!/bin/sh +volume=0 +while true +do + volume="$(dmenu -p "$(mpc volume)" < /dev/null)" + test -z "$volume" && break + mpc volume "$(echo -e "plus\nmin" | + dmenu -g 2 -l 1 | + sed 's/plus/+/;s/min/-/')$volume" +done -- cgit v1.2.3