about summary refs log tree commit diff
path: root/dotfiles/.bash_profile
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-17 19:09:27 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-17 19:09:27 +0200
commitad58b57df7b298bc3e25c578f590d44da3ce36c9 (patch)
tree28be43da790fa014e13a7284e5a5979537a8721a /dotfiles/.bash_profile
downloadnixos-config-ad58b57df7b298bc3e25c578f590d44da3ce36c9.tar.gz
nixos-config-ad58b57df7b298bc3e25c578f590d44da3ce36c9.tar.bz2
nixos-config-ad58b57df7b298bc3e25c578f590d44da3ce36c9.zip
Initial commit
Diffstat (limited to 'dotfiles/.bash_profile')
-rw-r--r--dotfiles/.bash_profile9
1 files changed, 9 insertions, 0 deletions
diff --git a/dotfiles/.bash_profile b/dotfiles/.bash_profile
new file mode 100644
index 0000000..0dc5034
--- /dev/null
+++ b/dotfiles/.bash_profile
@@ -0,0 +1,9 @@
+# ~/.bash_profile
+#
+
+[[ -f ~/.bashrc ]] && . "$HOME/.bashrc"
+
+# StartX
+if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
+    exec startx
+fi