dotfiles/dot_config/zsh/dot_zprofile.tmpl

7 lines
209 B
Cheetah

{{ if .desktop -}}
initfile="$XDG_CONFIG_HOME/X11/xinitrc"
logfile="$XDG_DATA_HOME/X11/xinit.log"
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && \
exec startx "$initfile" -- -keeptty > "$logfile" 2>&1
{{- end }}