Update dotfiles

This commit is contained in:
Augusto Gunsch
2021-08-05 17:37:38 -03:00
parent ffae7f624c
commit 9d6f70960f
6 changed files with 257 additions and 13 deletions

4
zshrc
View File

@@ -30,6 +30,6 @@ source ~/dotfiles/aliases
# reload with .
alias .="source ~/.zshrc"
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec startx
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
exec startx
fi