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