kill and start only current user's session (#829)

This commit is contained in:
majamin
2020-10-22 11:27:50 -07:00
committed by GitHub
parent cb5d88c8f3
commit 06bec85238
2 changed files with 4 additions and 4 deletions

View File

@@ -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}"