From 9976fcacc348b7ac1f49bcb763e95d630f6572a3 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Tue, 20 Jan 2026 21:19:06 +0900 Subject: modified bin/sysact --- ar/.local/bin/sysact | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ar/.local') diff --git a/ar/.local/bin/sysact b/ar/.local/bin/sysact index 64ef127..c76fa0b 100755 --- a/ar/.local/bin/sysact +++ b/ar/.local/bin/sysact @@ -23,14 +23,14 @@ wmpid() { # This function is needed if there are multiple instances of the windo echo "${tree%%)*}" } -case "$(printf "🔒 lock\n🚪 leave $WM\n♻️ renew $WM\n🐻 hibernate\n🔃 reboot\n🖥️shutdown\n💤 sleep\n📺 display off" | dmenu -i -p 'Action: ')" in +case "$(printf "🔒 lock\n🚪 leave $WM\n♻ renew $WM\n🐻 hibernate\n🔃 reboot\n🖥shutdown\n💤 sleep\n📺 display off" | dmenu -i -p 'Action: ')" in '🔒 lock') lock ;; "🚪 leave $WM") kill -TERM "$(wmpid)" ;; -"♻️ renew $WM") kill -HUP "$(wmpid)" ;; +"♻ renew $WM") kill -HUP "$(wmpid)" ;; '🐻 hibernate') slock $ctl hibernate -i ;; '💤 sleep') slock $ctl suspend -i ;; '🔃 reboot') $ctl reboot -i ;; -'🖥️shutdown') $ctl poweroff -i ;; +'🖥shutdown') $ctl poweroff -i ;; '📺 display off') xset dpms force off ;; *) exit 1 ;; esac -- cgit v1.2.3