Last active
May 13, 2021 18:00
-
-
Save felipedavi/2ef5c0dbb8ae34a50e935d59bf46a3f5 to your computer and use it in GitHub Desktop.
Switching between desktop environments/window managers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
session=${1:-i3} | |
case $session in | |
i3|i3wm) exec i3;; | |
kde) exec startplasma-x11;; | |
*) exec $1;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run:
$ xinit session
or$ startx ~/.xinitrc session