]>
Commit | Line | Data |
---|---|---|
1 | # Some variables are loaded via pam (see .config/pam_environment) | |
2 | # This file is loaded thanks to as line in /etc/profile | |
3 | # test "$BASH" && test -r "$XDG_CONFIG_HOME/bash/bash_profile" && . $XDG_CONFIG_HOME/bash/bash_profile | |
4 | ||
5 | [[ -f $XDG_CONFIG_HOME/bash/bashrc ]] && . $XDG_CONFIG_HOME/bash/bashrc | |
6 | {% if "graphical_vt" in features.get(profile, []) %} | |
7 | ||
8 | if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then | |
9 | [[ -f "$XDG_STATE_HOME/bash/bashrc_temp" ]] && rm -f $XDG_STATE_HOME/bash/bashrc_temp | |
10 | exec startx $XDG_CONFIG_HOME/xinitrc > $XDG_STATE_HOME/xsession_errors 2>&1 | |
11 | fi | |
12 | {% endif %} |