dotfiles/.config/zsh/.zprofile

7 lines
149 B
Bash

#!/bin/zsh
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec startx
fi
[[ -f ~/.zshrc ]] && . ~/.zshrc