diff options
author | Guangxiong Lin <[email protected]> | 2021-10-22 00:02:27 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2021-10-22 00:02:27 +0800 |
commit | 3b3e09d497078adfcb8f054a895d1ddac68a37de (patch) | |
tree | 0ea96c6e3f2ee07ab0d597181bf57a98b1adddae | |
parent | e088f86f3ca6bcaae3d1190e19f09d4408e99bfc (diff) | |
download | dotfiles-3b3e09d497078adfcb8f054a895d1ddac68a37de.tar.gz dotfiles-3b3e09d497078adfcb8f054a895d1ddac68a37de.tar.bz2 dotfiles-3b3e09d497078adfcb8f054a895d1ddac68a37de.zip |
Update xinit
-rw-r--r-- | .xinitrc | 10 | ||||
-rw-r--r-- | .zprofile | 3 |
2 files changed, 9 insertions, 4 deletions
@@ -38,4 +38,12 @@ fi # xterm -geometry 80x20+494-0 & # exec xterm -geometry 80x66+0+0 -name login -exec dbus-launch startdwm +session=${1:-dwm} +case $session in + dwm) + exec dbus-launch startdwm;; + i3|i3wm) + exec dbus-launch i3;; + *) + exec dbus-launch $1;; +esac @@ -1,3 +0,0 @@ -if [ -z "${DISPLAY}" ] && [ "{XDG_VTNR}" -eq 1 ]; then - exec startx -fi |