summaryrefslogtreecommitdiff
path: root/dotfiles/shell_bash/bash_profile
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@fretlink.com>2018-10-20 17:04:44 +0200
committerIsmaël Bouya <ismael.bouya@fretlink.com>2018-10-20 17:04:44 +0200
commit1950387f0b222d9ca51b573a4b287f139e5248c5 (patch)
treea57f221e43fc7896288b9ff497c24e7d05c366fa /dotfiles/shell_bash/bash_profile
downloaddotdrop-1950387f0b222d9ca51b573a4b287f139e5248c5.tar.gz
dotdrop-1950387f0b222d9ca51b573a4b287f139e5248c5.tar.zst
dotdrop-1950387f0b222d9ca51b573a4b287f139e5248c5.zip
Validation initiale
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 @@%}