Automatically run startx on login
This commit is contained in:
parent
604891afb6
commit
394d40f601
|
@ -22,6 +22,10 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
|
if [[ -z "$DISPLAY" ]] && [[ "$(tty)" == "/dev/tty1" ]]; then
|
||||||
|
exec startx &>/dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
# suffix
|
# suffix
|
||||||
alias -s gz="tar -tf"
|
alias -s gz="tar -tf"
|
||||||
alias -s {html,HTML}="background firefox"
|
alias -s {html,HTML}="background firefox"
|
||||||
|
|
Loading…
Reference in a new issue