summaryrefslogtreecommitdiffstats
path: root/.local/bin/dmenu-light
blob: 8c46f0fc369005b16fe0542d26891a1a02709bd1 (plain) (blame)
1
2
3
4
#!/bin/sh
cur=$(light -G)
val=$(b-prompt '' "brightness ($cur):")
[ -n "$val" ] && light -S "$val"