diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-11-01 20:39:02 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-11-01 20:39:02 -0500 |
| commit | a801ddcbfcf1c0fd01a0c06975571e56c51b077b (patch) | |
| tree | 4a848169c5841045066914a7f5fde60e43d57fbc /.local/bin/sysact | |
| parent | f770ac9df144ff24f7790aa23087abf000d656ff (diff) | |
| parent | f08e37bdad7aa7c69c7529fe9e48939a4b21d9cc (diff) | |
| download | eibhear-a801ddcbfcf1c0fd01a0c06975571e56c51b077b.tar.gz eibhear-a801ddcbfcf1c0fd01a0c06975571e56c51b077b.tar.zst eibhear-a801ddcbfcf1c0fd01a0c06975571e56c51b077b.zip | |
Merge branch 'master' of github.com:LukeSmithxyz/voidrice
Diffstat (limited to '.local/bin/sysact')
| -rwxr-xr-x | .local/bin/sysact | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/sysact b/.local/bin/sysact index 0a7cdd0..e73981f 100755 --- a/.local/bin/sysact +++ b/.local/bin/sysact @@ -10,8 +10,8 @@ esac cmds="\ 🔒 lock slock -🚪 leave dwm kill -TERM $(pidof -s dwm) -♻ renew dwm kill -HUP $(pidof -s dwm) +🚪 leave dwm kill -TERM $(pgrep -u $USER "\bdwm$") +♻ renew dwm kill -HUP $(pgrep -u $USER "\bdwm$") 🐻 hibernate ${hib:-sudo -A systemctl suspend-then-hibernate} 🔃 reboot ${reb:-sudo -A reboot} 🖥 shutdown ${shut:-sudo -A shutdown -h now}" |
