From 4e92f8998c4802f218e51ce254fca41dd6954e37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 9 Jan 2022 19:44:19 +0100 Subject: Switch to Sway --- profile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'profile') diff --git a/profile b/profile index e2e3407..12e6fce 100644 --- a/profile +++ b/profile @@ -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 -- cgit v1.2.3