diff --git a/scripts/core/sxmo_wmtoggle.sh b/scripts/core/sxmo_wmtoggle.sh index f94427b..d1ef094 100644 --- a/scripts/core/sxmo_wmtoggle.sh +++ b/scripts/core/sxmo_wmtoggle.sh @@ -3,10 +3,10 @@ case "$(realpath /var/lib/tinydm/default-session.desktop)" in /usr/share/wayland-sessions/swmo.desktop) sudo tinydm-set-session -f -s /usr/share/xsessions/sxmo.desktop + pkill sway ;; /usr/share/xsessions/sxmo.desktop) sudo tinydm-set-session -f -s /usr/share/wayland-sessions/swmo.desktop + pkill dwm ;; esac - -sudo reboot