aboutsummaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-08-18 14:34:45 +0200
committerMateja <mail@matejamaric.com>2020-08-18 14:34:45 +0200
commita333333bb866068c110d86b55ec6a81ebb4ec6b5 (patch)
tree3cdc1d4e791a7f5f18cce231a55dd22824da2148 /.bash_profile
parent7775115024777a6a891b3fba33b6972187e4b6ef (diff)
downloaddotfiles-a333333bb866068c110d86b55ec6a81ebb4ec6b5.tar.gz
dotfiles-a333333bb866068c110d86b55ec6a81ebb4ec6b5.zip
added bash_profile
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile9
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