From 832af38380ba5b6a020b034059b4bc5ff7443ded Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sat, 13 May 2023 23:50:35 -0500 Subject: uhhh --- bash/bash_profile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bash/bash_profile') diff --git a/bash/bash_profile b/bash/bash_profile index 4439ca7..92ce061 100644 --- a/bash/bash_profile +++ b/bash/bash_profile @@ -2,3 +2,10 @@ [[ -f ~/.profile ]] && source ~/.profile [[ -f ~/.bashrc ]] && source ~/.bashrc + +# start sway on tty 1 + +if test -z "$DISPLAY" && test /dev/tty1 = "$(tty)" +then + swayrun +fi -- cgit 1.4.1-21-gabe81