aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdot-profile5
1 files changed, 5 insertions, 0 deletions
diff --git a/dot-profile b/dot-profile
index 050b24f..fcf834b 100755
--- a/dot-profile
+++ b/dot-profile
@@ -61,3 +61,8 @@ fi
# GUI THEMES
export QT_QPA_PLATFORMTHEME=gtk3
+# START SWAY
+if [ -z $DISPLAY ] && [ $(tty) = /dev/tty1 ]; then
+ export XDG_CURRENT_DESKTOP=sway
+ dbus-run-session sway
+fi