diff --git a/suckless/install.sh b/suckless/install.sh index a951f3d..a71c813 100755 --- a/suckless/install.sh +++ b/suckless/install.sh @@ -75,6 +75,13 @@ while :; do done EOT +cat <<'EOT' > ~/.profile +#!/bin/sh + +# auto startx +[ -z "$DISPLAY" -a -n "$XDG_VTNR" -a "$XDG_VTNR" -eq "1" ] && exec startx +EOT + # config dwm [[ -L $XDG_CONFIG_HOME/dwm/autostart ]] && rm $XDG_CONFIG_HOME/dwm/autostart