[feature] auto startx
This commit is contained in:
parent
9e76d7c536
commit
9861ebe5d2
|
@ -75,6 +75,13 @@ while :; do
|
||||||
done
|
done
|
||||||
EOT
|
EOT
|
||||||
|
|
||||||
|
cat <<'EOT' > ~/.profile
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# auto startx
|
||||||
|
[ -z "$DISPLAY" -a -n "$XDG_VTNR" -a "$XDG_VTNR" -eq "1" ] && exec startx
|
||||||
|
EOT
|
||||||
|
|
||||||
|
|
||||||
# config dwm
|
# config dwm
|
||||||
[[ -L $XDG_CONFIG_HOME/dwm/autostart ]] && rm $XDG_CONFIG_HOME/dwm/autostart
|
[[ -L $XDG_CONFIG_HOME/dwm/autostart ]] && rm $XDG_CONFIG_HOME/dwm/autostart
|
||||||
|
|
Loading…
Reference in New Issue
Block a user