summaryrefslogtreecommitdiffstats
path: root/.local/bin/rofi-light
blob: f2a46af5f3ee7188363985ab85c0fdad1602c060 (plain) (blame)
1
2
3
4
5
#!/bin/sh

cur=$(light -G)
val=$(rofi -dmenu -mesg "light    $cur" -p "light -S " -l 0 -width 12)
[ -n "$val" ] && light -S "$val"