Delete .local/bin/sysact

This commit is contained in:
2026-02-22 23:41:42 +00:00
parent aadff541db
commit 62c8403445

View File

@@ -1,22 +0,0 @@
#! /usr/bin/zsh
# A dmenu wrapper script for system functions.
# For non-systemd init systems.
case "$(readlink -f /sbin/init)" in
*runit*) hib="sudo -A zzz" ;;
*openrc*) reb="sudo -A openrc-shutdown -r"; shut="sudo -A openrc-shutdown -p 0" ;;
esac
cmds="\
 lock slock
 leave dwm dwmc quit
 renew dwm dwmc restart
 hibernate slock ${hib:-systemctl suspend-then-hibernate -i}
 reboot ${reb:-sudo -A reboot}
 shutdown ${shut:-sudo -A shutdown -h now}"
choice="$(echo "$cmds" | cut -d' ' -f 1 | dmenu -n)" || exit 1
`echo "$cmds" | grep "^$choice " | cut -d ' ' -f2-`