emacs: try out dmenu, report some bugs
[~bandali/configs] / .local / bin / rofi-light
CommitLineData
a92a01fe
AB
1#!/bin/sh
2
3cur=$(light -G)
4val=$(rofi -dmenu -mesg "light $cur" -p "light -S " -l 0 -width 12)
5[ -n "$val" ] && light -S "$val"