summaryrefslogtreecommitdiff
path: root/dotfiles/shell_bash/bash_profile
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/shell_bash/bash_profile')
-rw-r--r--dotfiles/shell_bash/bash_profile9
1 files changed, 9 insertions, 0 deletions
diff --git a/dotfiles/shell_bash/bash_profile b/dotfiles/shell_bash/bash_profile
new file mode 100644
index 0000000..4de837b
--- /dev/null
+++ b/dotfiles/shell_bash/bash_profile
@@ -0,0 +1,9 @@
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, []) @@%}
6if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
7 exec startx $XDG_CONFIG_HOME/xinitrc
8fi
9{%@@ endif @@%}