dotfiles

commit d086e3dea41a61e2c04bbb19f698ec194b59a468

Author: Honza Pokorny <me@honza.ca>

start sway on login

 bashrc | 4 ++++


diff --git a/bashrc b/bashrc
index b679d3048cc8279cdd4cc9ac60fdaec329635755..6cba58797f25add1d466c229602af5d0b4f2c623 100644
--- a/bashrc
+++ b/bashrc
@@ -147,3 +147,7 @@ export LD_LIBRARY_PATH=/usr/local/lib64/:$LD_LIBRARY_PATH
 
 if [[ -s $HOME/.bashrc_local ]] ; then source $HOME/.bashrc_local ; fi
 if [[ -s $DOTFILES/bash_functions ]] ; then source $DOTFILES/bash_functions ; fi
+
+if [ "$(tty)" = "/dev/tty1" ]; then
+	exec sway
+fi