aboutsummaryrefslogtreecommitdiff
path: root/bin/startsway
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-11-22 23:16:01 +0800
committerGuangxiong Lin <[email protected]>2022-11-22 23:16:01 +0800
commit0d642734476df5795f229b0d336cb39d1e7be7b3 (patch)
treef436f7e031691bd23933ab0b7ee0d2d650201649 /bin/startsway
parent29a7a8c98d7fafbe71bbd82bb4bb91f81cb9bad8 (diff)
downloaddotfiles-0d642734476df5795f229b0d336cb39d1e7be7b3.tar.gz
dotfiles-0d642734476df5795f229b0d336cb39d1e7be7b3.tar.bz2
dotfiles-0d642734476df5795f229b0d336cb39d1e7be7b3.zip
Boot swaywm by script
Diffstat (limited to 'bin/startsway')
-rwxr-xr-xbin/startsway6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/startsway b/bin/startsway
index b593354..812788b 100755
--- a/bin/startsway
+++ b/bin/startsway
@@ -5,4 +5,8 @@ export XDG_SESSION_DESKTOP=sway
export WLR_RENDER=vulkan
export MOZ_ENABLE_WAYLAND=1
-exec sway
+sway
+
+swaymsg -- exec --no-startup-id autostart-wayland
+
+exit 0