From f636d891b9b874e888c61b1be34714276bc2b9ff Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 16 Nov 2018 23:27:51 -0500 Subject: [PATCH] =?utf8?q?[rc/rofi-light]=20don=E2=80=99t=20invoke=20light?= =?utf8?q?=20when=20esc=20was=20pressed?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- rc.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc.org b/rc.org index d4e8a7c..336337f 100644 --- a/rc.org +++ b/rc.org @@ -5582,7 +5582,7 @@ if __name__ == '__main__': #+begin_src bash cur=$(light -G) val=$(rofi -dmenu -mesg "light $cur" -p "light -S " -l 0 -width 12) -light -S $val +[ -n "$val" ] && light -S $val #+end_src ** s (run sway) -- 2.20.1