From 7372a4ea463a511770e03a762d8e71c77abf2758 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sun, 31 Dec 2017 23:25:42 -0500 Subject: rofi-light: rofi-based pop up for changing backlight brightness Requires light (light-git on AUR) and rofi P.S. Happy New Year :) --- sxhkd/.local/bin/rofi-light | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 sxhkd/.local/bin/rofi-light (limited to 'sxhkd/.local/bin/rofi-light') diff --git a/sxhkd/.local/bin/rofi-light b/sxhkd/.local/bin/rofi-light new file mode 100755 index 0000000..96b0126 --- /dev/null +++ b/sxhkd/.local/bin/rofi-light @@ -0,0 +1,5 @@ +#!/bin/sh + +cur=$(light -G) +val=$(rofi -dmenu -mesg "light $cur" -p "light -S " -l 0 -width 8) +light -S $val -- cgit v1.2.3-60-g2f50