optimize autostart

This commit is contained in:
EdenQwQ 2025-03-09 11:14:04 +08:00
parent 239f2ebba2
commit 189014264b
3 changed files with 6 additions and 15 deletions

View file

@ -16,6 +16,7 @@ elif [ "$entry" = "mode" ]; then
elif [ "$entry" = "exit" ]; then
if [ "$(~/scripts/tofi/confirm "exit?")" = "yes" ]; then
doas killall swhkd swhks
systemctl --user stop waybar.service blueman-applet.service 'app-nm\\x2dapplet@autostart.service' app-org.fcitx.Fcitx5@autostart.service niri-blur-wallpaper.service
wayland-logout
fi
fi