diff --git a/.bash_profile b/.bash_profile index 52944f7..06627d7 100644 --- a/.bash_profile +++ b/.bash_profile @@ -5,7 +5,10 @@ [[ -f ~/.bashrc ]] && . ~/.bashrc if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then - XDG_CURRENT_DESKTOP=sway exec dbus-run-session sway - exec startx + if [[ ! -z "$IS_LAPTOP" ]]; then + exec startx + else + exec start-sway.sh + fi fi