summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2023-12-01 18:14:17 +0100
committertslil clingman <tslil@posteo.de>2023-12-01 18:14:17 +0100
commita2e593a3c5e98f7e98976eb7ca7fd5ca7ab8a134 (patch)
tree78ce4735cd4f3fa2012f48a1f56542fd46e0aafb /sw
parentb0b6114efde90679efc3037e7c5f791e43baf4b7 (diff)
sw: script to start wayland
Diffstat (limited to 'sw')
-rwxr-xr-xsw16
1 files changed, 16 insertions, 0 deletions
diff --git a/sw b/sw
new file mode 100755
index 0000000..53f0e05
--- /dev/null
+++ b/sw
@@ -0,0 +1,16 @@
+#!/bin/sh
+export XDG_SESSION_TYPE=wayland
+export XDG_CURRENT_DESKTOP=sway
+export XDG_SESSION_DESKTOP=sway
+
+#export QT_QPA_PLATFORM=wayland
+#export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
+
+export WLR_RENDERER=vulkan
+export WLR_NO_HARDWARE_CURSORS=1
+
+dbus-update-activation-environment XDG_CURRENT_DESKTOP XDG_SESSION_DESKTOP XDG_SESSION_TYPE
+systemctl --user import-environment XDG_CURRENT_DESKTOP XDG_SESSION_DESKTOP XDG_SESSION_TYPE
+#systemctl --user restart xdg-desktop-portal
+
+/home/tslil/prog/wm/dwl/dwl -s /home/tslil/.config/dwl/dwl.sh