diff options
author | Mateja <mail@matejamaric.com> | 2020-08-18 14:34:45 +0200 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-08-18 14:34:45 +0200 |
commit | a333333bb866068c110d86b55ec6a81ebb4ec6b5 (patch) | |
tree | 3cdc1d4e791a7f5f18cce231a55dd22824da2148 | |
parent | 7775115024777a6a891b3fba33b6972187e4b6ef (diff) | |
download | dotfiles-a333333bb866068c110d86b55ec6a81ebb4ec6b5.tar.gz dotfiles-a333333bb866068c110d86b55ec6a81ebb4ec6b5.zip |
added bash_profile
-rw-r--r-- | .bash_profile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.bash_profile b/.bash_profile new file mode 100644 index 0000000..24aa5a0 --- /dev/null +++ b/.bash_profile @@ -0,0 +1,9 @@ +# +# ~/.bash_profile +# + +[[ -f ~/.bashrc ]] && . ~/.bashrc + +if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then + exec startx +fi |