From 4c4b967a3bd2d659b3b8229c5caf970bc45a9542 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 19 Nov 2022 20:24:42 -0500 Subject: Drop rofi in favour of dmenu --- .local/bin/dmenu-pamixer | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 .local/bin/dmenu-pamixer (limited to '.local/bin/dmenu-pamixer') diff --git a/.local/bin/dmenu-pamixer b/.local/bin/dmenu-pamixer new file mode 100755 index 0000000..c830e9d --- /dev/null +++ b/.local/bin/dmenu-pamixer @@ -0,0 +1,4 @@ +#!/bin/sh +cur=$(pamixer --get-volume) +val=$(dmenu -p "volume ($cur):" < /dev/null) +[ -n "$val" ] && pamixer --set-volume "$val" -- cgit v1.2.3-60-g2f50