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

cur=$(light -G)
val=$(rofi -dmenu -mesg "light    $cur" -p "light -S " -l 0 -width 8)
light -S $val