aboutsummaryrefslogtreecommitdiffstats
path: root/startw
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-02-26 15:57:52 +0000
committerMatthew Lemon <y@yulqen.org>2024-02-26 15:57:52 +0000
commit203b2785ddf7bb1f1c7600bb3143304ff6f8eaef (patch)
tree7020672dff51ee24fbe00979de9678a4ca795273 /startw
parentbd284910e441f0b12a7c15241ffd7767d3fc3ec2 (diff)
Sway start wrapper script
Diffstat (limited to 'startw')
-rw-r--r--startw10
1 files changed, 10 insertions, 0 deletions
diff --git a/startw b/startw
new file mode 100644
index 0000000..4e3a86a
--- /dev/null
+++ b/startw
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# wrapper script to start sway, in the same way that we "startx":
+# from https://www.dwarmstrong.org/sway/
+
+export QT_QPA_PLATFORM=wayland
+# start sway
+export XDG_CURRENT_DESKTOP=sway
+export XDG_SESSION_DESKTOP=sway
+sway -c ~/.config/sway/config