commit 0baabbf42ad271b314d489f08c068f88866f38de
parent cc21f547741b5607b00f1eabbf0556965cfb2747
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 17 Oct 2019 14:00:27 +0200
Don't autostart X
Diffstat:
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/.config/sh/profile b/.config/sh/profile
@@ -37,9 +37,3 @@ if [ -x "$(command -v rg)" ]; then
elif [ -x "$(command -v ag)" ]; then
export FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -f --nocolor -g ""'
fi
-
-# start x on tty1
-xsession() {
- startx 2>&1 || vlock
-}
-if tty | grep -q /dev/tty1; then xsession; fi
diff --git a/.xinitrc b/.xinitrc
@@ -4,5 +4,5 @@
[ -f ~/.xprofile ] && . ~/.xprofile
while :; do
- dwm || break
+ dwm || break
done