summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2022-08-17 15:44:32 +0200
committerRobert Günzler <r@gnzler.io>2022-08-17 15:44:32 +0200
commite768acca8a8cea044badaa502706430a390cbef8 (patch)
treea81ad05d979366efb18844931555d1df8280f0ee
parent1142e0630399a27b8f6d2c61034f515d2968203f (diff)
bin/sway-run: disable WLR_DRM_NO_MODIFIERS
-rwxr-xr-xbin/sway-run6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/sway-run b/bin/sway-run
index 7cebf28..b4eb950 100755
--- a/bin/sway-run
+++ b/bin/sway-run
@@ -17,8 +17,10 @@ SWAY_ARGS=${SWAY_ARGS:-}
 # wlroots env vars should be set here
 # export WLR_DRM_DEVICES="/dev/dri/card1:/dev/dri/card0"
 # export WLR_DRM_DEVICES="/dev/dri/card0"
-export WLR_DRM_NO_MODIFIERS=1
+
+# export WLR_DRM_NO_MODIFIERS=1
+# export WLR_DRM_NO_ATOMIC=1
 
 # exec ${SWAY_BIN} ${SWAY_ARGS}
 # exec dbus-launch --exit-with-session ${SWAY_BIN} ${SWAY_ARGS}
-exec dbus-run-session -- ${SWAY_BIN} ${SWAY_ARGS}
+exec dbus-run-session -- ${SWAY_BIN} ${SWAY_ARGS} $@ >>/var/log/sway.log