From e064bdbfecc18b5cd11a913fec47a682dcb3b5f6 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Tue, 18 May 2021 18:52:50 -0400 Subject: add rofi-pamixer convenience scripts for changing volume --- .local/bin/rofi-pamixer | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 .local/bin/rofi-pamixer (limited to '.local/bin/rofi-pamixer') diff --git a/.local/bin/rofi-pamixer b/.local/bin/rofi-pamixer new file mode 100755 index 0000000..da06a6d --- /dev/null +++ b/.local/bin/rofi-pamixer @@ -0,0 +1,4 @@ +#!/bin/sh +cur=$(pamixer --get-volume) +val=$(rofi -dmenu -mesg "pamixer --get-volume $cur" -p "pamixer --set-volume " -l 0 -width 12) +[ -n "$val" ] && pamixer --set-volume "$val" -- cgit v1.2.3-60-g2f50