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