~mil/sxmo-utils

ref: 3c3c5f5b45e59aceb5bfdd1d8bc0db674349863a sxmo-utils/scripts/core/sxmo_wmtoggle.sh -rw-r--r-- 331 bytes
3c3c5f5bStacy Harper Hide border on Sway when only one window is present 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
#!/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