aboutsummaryrefslogtreecommitdiff
path: root/profile
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-01-09 19:44:19 +0100
committerKarel Kočí <cynerd@email.cz>2022-01-09 19:44:19 +0100
commit4e92f8998c4802f218e51ce254fca41dd6954e37 (patch)
treee5282c0107908b9288ab635c3c4483895a96d4a8 /profile
parenteebb8df9d311080c92d0fbabd43e93121358f154 (diff)
downloadmyconfigs-4e92f8998c4802f218e51ce254fca41dd6954e37.tar.gz
myconfigs-4e92f8998c4802f218e51ce254fca41dd6954e37.tar.bz2
myconfigs-4e92f8998c4802f218e51ce254fca41dd6954e37.zip
Switch to Sway
Diffstat (limited to 'profile')
-rw-r--r--profile10
1 files changed, 4 insertions, 6 deletions
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