diff options
author | Toby Vincent <tobyv13@gmail.com> | 2022-03-30 16:19:58 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2022-03-30 16:19:58 -0500 |
commit | 9baef9c8edf76801bd8c0b1008d3093b22d8ed17 (patch) | |
tree | 1c6d841a1a63a80ba7d27896a22b0cdae8f18669 /bash | |
parent | 86a7fe299fde3bf00ad9e29c6c2a5e04662366ba (diff) |
feat: add sway startup scripts
Diffstat (limited to 'bash')
-rw-r--r-- | bash/.bash_profile | 4 |
1 files changed, 4 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 |