From a92a01fe479e3b069e23297cb3b541eb273deb58 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 12 Apr 2019 23:39:24 -0400 Subject: scripts: pull current scripts out of rc.org & clean up battery-percentage-time: pull out of rc.org scripts my-i3status: pull out of rc.org rofi-light: pull out of rc.org rofi-remmina: pull out of rc.org s: pull out of rc.org sway-ws-util: pull out of rc.org toggle-presentation-mode: pull out of rc.org toggle-tablet: pull out of rc.org volume-info: pull out of rc.org zathura-sync: pull out of rc.org remove Scripts --- .local/bin/rofi-light | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 .local/bin/rofi-light (limited to '.local/bin/rofi-light') diff --git a/.local/bin/rofi-light b/.local/bin/rofi-light new file mode 100755 index 0000000..f2a46af --- /dev/null +++ b/.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 12) +[ -n "$val" ] && light -S "$val" -- cgit v1.2.3-60-g2f50