dotfiles

My dotfiles used for LARBS
Log | Files | Refs | Submodules | README | LICENSE

commit 87dda7cdc350b06d9929c1569d0a6e8f3e8a2926
parent d20ba524040a08ccb7c00db46db94db9600a861e
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Wed,  6 May 2020 09:50:00 -0400

systemd compatibility

Diffstat:
M.local/bin/sysact | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.local/bin/sysact b/.local/bin/sysact @@ -2,11 +2,15 @@ # A dmenu wrapper script for system functions. +case "$(readlink -f /sbin/init)" in + *runit-init) hib="sudo -A zzz" ;; +esac + cmds="\ 🔒 lock slock 🚪 leave dwm kill -TERM $(pidof -s dwm) ♻ renew dwm kill -HUP $(pidof -s dwm) -🐻 hibernate sudo -A zzz +🐻 hibernate ${hib:-sudo -A systemctl suspend-then-hibernate} 🔃 reboot sudo -A reboot 🖥 shutdown sudo -A shutdown -h now"