2022-07-21 00:03:41 -04:00
|
|
|
{{ if .desktop -}}
|
2021-02-15 20:53:16 -05:00
|
|
|
initfile="$XDG_CONFIG_HOME/X11/xinitrc"
|
2022-08-03 09:16:40 -04:00
|
|
|
logdir="$XDG_DATA_HOME/X11"
|
|
|
|
logfile="$logdir/xinit.log"
|
|
|
|
mkdir -p "$logdir"
|
2024-07-12 12:44:51 -04:00
|
|
|
#[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && \
|
|
|
|
# exec startx "$initfile" -- -keeptty > "$logfile" 2>&1
|
2022-07-21 00:03:41 -04:00
|
|
|
{{- end }}
|