dotfiles/zsh/.zlogin

6 lines
149 B
Bash
Executable File

emulate sh -c 'source /etc/profile'
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && "$(tty)" = "/dev/tty1" ]]; then
exec startx
fi