consider using ```sh loginctl kill-user $(whoami) ``` instead of ```sh hyperctl dispatch exit ``` which should work on sway and hyprland.