You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

12 lines
331 B

#!/bin/sh
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