Switch wm without rebooting

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
master
Stacy Harper 3 years ago committed by Maarten van Gompel
parent c014c6bb92
commit b94c16540f
  1. 4
      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

Loading…
Cancel
Save