diff options
| author | Blake Romero <blake@blkrom.com> | 2025-10-01 23:01:17 +0100 |
|---|---|---|
| committer | Blake Romero <blake@blkrom.com> | 2025-10-01 23:01:17 +0100 |
| commit | ea8daabbd122c59e08122b7e8246d7df9fd07fd5 (patch) | |
| tree | 36e91e1ce75eb5123c51e8ab6dc6749c00482cc7 /dot-profile | |
| parent | adbe51a41ab7e9b61ff6fffb17be4ab8b7cc06d2 (diff) | |
Auto start sway on login
Diffstat (limited to 'dot-profile')
| -rwxr-xr-x | dot-profile | 5 |
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 |
