diff options
author | Karel Kočí <cynerd@email.cz> | 2022-01-09 19:44:19 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-01-09 19:44:19 +0100 |
commit | 4e92f8998c4802f218e51ce254fca41dd6954e37 (patch) | |
tree | e5282c0107908b9288ab635c3c4483895a96d4a8 /profile | |
parent | eebb8df9d311080c92d0fbabd43e93121358f154 (diff) | |
download | myconfigs-4e92f8998c4802f218e51ce254fca41dd6954e37.tar.gz myconfigs-4e92f8998c4802f218e51ce254fca41dd6954e37.tar.bz2 myconfigs-4e92f8998c4802f218e51ce254fca41dd6954e37.zip |
Switch to Sway
Diffstat (limited to 'profile')
-rw-r--r-- | profile | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -27,16 +27,14 @@ if [ "$(tty)" = "/dev/tty1" ]; then PROFILE_SELECTION=1 else echo - echo "(1) i3" - echo "(2) sway" + echo "(1) sway" + echo "(2) i3" echo -n "Select or pass to shell: " read -r PROFILE_SELECTION fi if [ "$PROFILE_SELECTION" -eq 1 ]; then - exec startx -- "vt$XDG_VTNR" + exec startsway elif [ "$PROFILE_SELECTION" -eq 2 ]; then - export XDG_CURRENT_DESKTOP=sway - export MOZ_ENABLE_WAYLAND=1 - exec sway + exec startx -- "vt$XDG_VTNR" fi unset PROFILE_SELECTION |