summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
authorAmin Bandali <bandali@kelar.org>2022-05-19 23:26:06 -0400
committerAmin Bandali <bandali@kelar.org>2022-05-19 23:26:22 -0400
commit7f1bcaabd892f49c6799fd4c06e774f5538666a0 (patch)
tree5cd9ae39b19dfa6fe6b2292474e7d79d5244ce7f /.local/bin
parentb4026315d11def205f0d2d6e9ad698bd75c3a5ad (diff)
downloadconfigs-7f1bcaabd892f49c6799fd4c06e774f5538666a0.tar.gz
configs-7f1bcaabd892f49c6799fd4c06e774f5538666a0.tar.xz
configs-7f1bcaabd892f49c6799fd4c06e774f5538666a0.zip
Improve usability of rofi-light and rofi-pamixer wrappers
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/rofi-light2
-rwxr-xr-x.local/bin/rofi-pamixer2
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"