summaryrefslogtreecommitdiffstats
path: root/.local/bin/dmenu-light
blob: 614281cc1041ec34bb7cd89864646bef54e87502 (plain) (blame)
1
2
3
4
#!/bin/sh
cur=$(light -G)
val=$(dmenu -fn 'Source Code Pro Medium-10.5' -p "brightness ($cur):" < /dev/null)
[ -n "$val" ] && light -S "$val"