summaryrefslogtreecommitdiffstats
path: root/.local/bin/dmenu-light
blob: 988a0730d3641f5003123d5858422d723c43ccdc (plain) (blame)
1
2
3
4
#!/bin/sh
cur=$(light -G)
val=$(dmenu -p "brightness ($cur):" < /dev/null)
[ -n "$val" ] && light -S "$val"