Created
January 3, 2017 21:25
-
-
Save dmerejkowsky/d5ed2b8bafd7193cc7da3a0c1ec8a009 to your computer and use it in GitHub Desktop.
Dead simple display manager
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
# in ~/.profile | |
case "$(tty)" in | |
"/dev/tty1") exec startx;; | |
"/dev/tty2") exec startx /usr/bin/bspwm;; | |
"/dev/tty3") exec startx /usr/bin/kodi;; | |
"/dev/tty4") exec startx /usr/games/steam -bigpicture;; | |
esac | |
# source: Arch Linux forums: https://bbs.archlinux.org/viewtopic.php?pid=1680406#p1680406 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment