aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-03-30 16:19:58 -0500
committerToby Vincent <tobyv13@gmail.com>2022-03-30 16:19:58 -0500
commit9baef9c8edf76801bd8c0b1008d3093b22d8ed17 (patch)
tree1c6d841a1a63a80ba7d27896a22b0cdae8f18669
parent86a7fe299fde3bf00ad9e29c6c2a5e04662366ba (diff)
feat: add sway startup scripts
-rw-r--r--bash/.bash_profile4
-rw-r--r--zsh/.config/zsh/.zprofile3
2 files changed, 7 insertions, 0 deletions
diff --git a/bash/.bash_profile b/bash/.bash_profile
index 1594575..526b43f 100644
--- a/bash/.bash_profile
+++ b/bash/.bash_profile
@@ -1,2 +1,6 @@
. ~/.profile
+
if [[ $- == *i* ]]; then . ~/.bashrc; fi
+
+# If running from tty1 start sway
+[ "$(tty)" = "/dev/tty1" ] && exec sway \ No newline at end of file
diff --git a/zsh/.config/zsh/.zprofile b/zsh/.config/zsh/.zprofile
new file mode 100644
index 0000000..1b88dd5
--- /dev/null
+++ b/zsh/.config/zsh/.zprofile
@@ -0,0 +1,3 @@
+
+# If running from tty1 start sway
+[ "$(tty)" = "/dev/tty1" ] && exec sway \ No newline at end of file