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