about summary refs log tree commit diff stats
path: root/bash/bash_profile
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bash_profile')
-rw-r--r--bash/bash_profile7
1 files changed, 7 insertions, 0 deletions
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 @@
2 2
3[[ -f ~/.profile ]] && source ~/.profile 3[[ -f ~/.profile ]] && source ~/.profile
4[[ -f ~/.bashrc ]] && source ~/.bashrc 4[[ -f ~/.bashrc ]] && source ~/.bashrc
5
6# start sway on tty 1
7
8if test -z "$DISPLAY" && test /dev/tty1 = "$(tty)"
9then
10 swayrun
11fi