diff options
author | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-10-20 17:04:44 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-10-20 17:04:44 +0200 |
commit | 1950387f0b222d9ca51b573a4b287f139e5248c5 (patch) | |
tree | a57f221e43fc7896288b9ff497c24e7d05c366fa /dotfiles/shell_bash/bash_profile | |
download | dotdrop-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_profile | 9 |
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, []) @@%} | ||
6 | if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then | ||
7 | exec startx $XDG_CONFIG_HOME/xinitrc | ||
8 | fi | ||
9 | {%@@ endif @@%} | ||