From 7f1bcaabd892f49c6799fd4c06e774f5538666a0 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Thu, 19 May 2022 23:26:06 -0400 Subject: Improve usability of rofi-light and rofi-pamixer wrappers --- .local/bin/rofi-light | 2 +- .local/bin/rofi-pamixer | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/bin/rofi-light b/.local/bin/rofi-light index f43543b..4dedc31 100755 --- a/.local/bin/rofi-light +++ b/.local/bin/rofi-light @@ -1,4 +1,4 @@ #!/bin/sh cur=$(light -G) -val=$(rofi -dmenu -mesg "light $cur" -p "light -S " -l 0 -width 12) +val=$(rofi -dmenu -mesg "brightness: $cur" -p "" -l 0 -width 12) [ -n "$val" ] && light -S "$val" diff --git a/.local/bin/rofi-pamixer b/.local/bin/rofi-pamixer index da06a6d..19377dc 100755 --- a/.local/bin/rofi-pamixer +++ b/.local/bin/rofi-pamixer @@ -1,4 +1,4 @@ #!/bin/sh cur=$(pamixer --get-volume) -val=$(rofi -dmenu -mesg "pamixer --get-volume $cur" -p "pamixer --set-volume " -l 0 -width 12) +val=$(rofi -dmenu -mesg "volume: $cur" -p "" -l 0 -width 8) [ -n "$val" ] && pamixer --set-volume "$val" -- cgit v1.2.3-60-g2f50