scripts/tofi/power/↩ Logout

8 lines
122 B
Plaintext
Raw Permalink Normal View History

#!/bin/bash
if [ -z ${SWAYSOCK+x} ]; then
2024-07-18 22:53:38 +00:00
i3 exit
else
sudo systemctl stop user@$(id -u).service
2024-07-18 22:53:38 +00:00
sway exit
fi