dotfiles/dot_config/zsh/dot_zprofile

7 lines
224 B
Plaintext
Raw Normal View History

2021-02-15 20:53:16 -05:00
sudo /usr/bin/prime-switch > /dev/null 2>&1
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