From 12d6d5ec80fd0dc9f113f6b91a3373857fcac014 Mon Sep 17 00:00:00 2001 From: skrrtskrrtman <50763036+skrrtskrrtman@users.noreply.github.com> Date: Tue, 30 Mar 2021 09:30:01 +0800 Subject: [PATCH] add display off option (#920) mostly for laptops to save power --- .local/bin/sysact | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.local/bin/sysact b/.local/bin/sysact index 9dc398b..62fdd61 100755 --- a/.local/bin/sysact +++ b/.local/bin/sysact @@ -14,7 +14,8 @@ cmds="\ ♻ renew dwm kill -HUP $(pgrep -u $USER "\bdwm$") 🐻 hibernate slock ${hib:-systemctl suspend-then-hibernate -i} 🔃 reboot ${reb:-sudo -A reboot} -🖥 shutdown ${shut:-sudo -A shutdown -h now}" +🖥 shutdown ${shut:-sudo -A shutdown -h now} +📺 display off xset dpms force off" choice="$(echo "$cmds" | cut -d' ' -f 1 | dmenu)" || exit 1