summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x.local/bin/dmenu-light4
-rwxr-xr-x.local/bin/dmenu-pamixer (renamed from .local/bin/rofi-pamixer)2
-rwxr-xr-x.local/bin/rofi-light4
3 files changed, 5 insertions, 5 deletions
diff --git a/.local/bin/dmenu-light b/.local/bin/dmenu-light
new file mode 100755
index 0000000..988a073
--- /dev/null
+++ b/.local/bin/dmenu-light
@@ -0,0 +1,4 @@
+#!/bin/sh
+cur=$(light -G)
+val=$(dmenu -p "brightness ($cur):" < /dev/null)
+[ -n "$val" ] && light -S "$val"
diff --git a/.local/bin/rofi-pamixer b/.local/bin/dmenu-pamixer
index 19377dc..c830e9d 100755
--- a/.local/bin/rofi-pamixer
+++ b/.local/bin/dmenu-pamixer
@@ -1,4 +1,4 @@
#!/bin/sh
cur=$(pamixer --get-volume)
-val=$(rofi -dmenu -mesg "volume: $cur" -p "" -l 0 -width 8)
+val=$(dmenu -p "volume ($cur):" < /dev/null)
[ -n "$val" ] && pamixer --set-volume "$val"
diff --git a/.local/bin/rofi-light b/.local/bin/rofi-light
deleted file mode 100755
index 72fbd43..0000000
--- a/.local/bin/rofi-light
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-cur=$(light -G)
-val=$(rofi -dmenu -mesg "brightness: $cur" -p "" -l 0 -width 13)
-[ -n "$val" ] && light -S "$val"