]> git.immae.eu Git - perso/Immae/Config/dotdrop.git/blob - dotfiles/shell_bash/bash_profile
Fix logs redirection fo startx
[perso/Immae/Config/dotdrop.git] / dotfiles / shell_bash / bash_profile
1 # Some variables are loaded via pam (see .config/pam_environment)
2
3 [[ -f ~/.bashrc ]] && . ~/.bashrc
4
5 {%@@ if "graphical_vt" in features.get(profile, []) @@%}
6 if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
7 exec startx $XDG_CONFIG_HOME/xinitrc > $XDG_STATE_HOME/xsession_errors 2>&1
8 fi
9 {%@@ endif @@%}