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