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