summaryrefslogtreecommitdiffstats
path: root/bash/.bash_profile
diff options
context:
space:
mode:
authorChristian Krinitsin <christian@krinitsin.xyz>2024-03-18 17:50:57 +0100
committerChristian Krinitsin <christian@krinitsin.xyz>2024-03-18 17:50:57 +0100
commitf4601e1dfc54cc2a2b25b42e185dd8ed9f13be19 (patch)
tree496cb4d1266375396a34db1fb673562b838d919b /bash/.bash_profile
parentc6775b8032e2423f5e484505b277a7e0fdc9788a (diff)
downloaddotfiles-f4601e1dfc54cc2a2b25b42e185dd8ed9f13be19.tar.gz
dotfiles-f4601e1dfc54cc2a2b25b42e185dd8ed9f13be19.zip
edited structure and added install script
Diffstat (limited to 'bash/.bash_profile')
-rw-r--r--bash/.bash_profile9
1 files changed, 9 insertions, 0 deletions
diff --git a/bash/.bash_profile b/bash/.bash_profile
new file mode 100644
index 0000000..99fd48b
--- /dev/null
+++ b/bash/.bash_profile
@@ -0,0 +1,9 @@
+#
+# ~/.bash_profile
+#
+
+[[ -f ~/.bashrc ]] && . ~/.bashrc
+
+if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
+ exec sway
+fi