summaryrefslogtreecommitdiffstats
path: root/.local/bin/rofi-light
blob: 72fbd4377a60028094b64f80667a1697494c7fd0 (plain) (blame)
1
2
3
4
#!/bin/sh
cur=$(light -G)
val=$(rofi -dmenu -mesg "brightness: $cur" -p "" -l 0 -width 13)
[ -n "$val" ] && light -S "$val"