aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Wilken2024-07-19 21:10:36 +0200
committerTimo Wilken2024-07-19 21:10:36 +0200
commit0bf43d74440d075ac445131f0b0869d24d34b7fe (patch)
tree4d9aed302c2941529c0c2105eba6ca8a7ee06590
parentbcd62c52e88e24b16e8fdb3ea6bda538affe4ac2 (diff)
Make Electron apps use Wayland natively
-rw-r--r--tw/services/desktop.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/tw/services/desktop.scm b/tw/services/desktop.scm
index 8c3c37f7..d5241908 100644
--- a/tw/services/desktop.scm
+++ b/tw/services/desktop.scm
@@ -597,6 +597,7 @@ corner_radius 6
("MOZ_ENABLE_WAYLAND" . "1")
("TERMINAL" . "foot") ; needed for rofi-sensible-terminal
("QT_QPA_PLATFORM" . "wayland") ; needed for Qt apps, e.g. obs
+ ("ELECTRON_OZONE_PLATFORM_HINT" . "wayland") ; for Electron apps, e.g. signal-desktop
("XDG_CURRENT_DESKTOP" . "sway") ; not sure why this isn't set by default
("_JAVA_OPTIONS" .
,(string-append