summaryrefslogtreecommitdiffstats
path: root/.local/bin/dmenu-light
diff options
context:
space:
mode:
authorAmin Bandali <bandali@kelar.org>2024-08-31 14:21:28 -0400
committerAmin Bandali <bandali@kelar.org>2024-08-31 14:21:28 -0400
commitc6d8f5f99ec23a6b7cb537c79e716bf5eea5446a (patch)
tree41b0de4b61e765d9c4cca317ebce66d530e640aa /.local/bin/dmenu-light
parent8052f35b9b29d9d3624be1c161ad4f41ee26a533 (diff)
downloadconfigs-c6d8f5f99ec23a6b7cb537c79e716bf5eea5446a.tar.gz
configs-c6d8f5f99ec23a6b7cb537c79e716bf5eea5446a.tar.xz
configs-c6d8f5f99ec23a6b7cb537c79e716bf5eea5446a.zip
A few more updates from anahita
Diffstat (limited to '.local/bin/dmenu-light')
-rwxr-xr-x.local/bin/dmenu-light2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/dmenu-light b/.local/bin/dmenu-light
index 614281c..8c46f0f 100755
--- a/.local/bin/dmenu-light
+++ b/.local/bin/dmenu-light
@@ -1,4 +1,4 @@
#!/bin/sh
cur=$(light -G)
-val=$(dmenu -fn 'Source Code Pro Medium-10.5' -p "brightness ($cur):" < /dev/null)
+val=$(b-prompt '' "brightness ($cur):")
[ -n "$val" ] && light -S "$val"