export DISPLAY to session after xwayland-satellite starts

This commit is contained in:
2026-06-19 13:56:34 +02:00
parent 3d90519fce
commit 796bea02aa
+1
View File
@@ -46,6 +46,7 @@
}; };
Service = { Service = {
ExecStart = "${pkgs.xwayland-satellite}/bin/xwayland-satellite"; ExecStart = "${pkgs.xwayland-satellite}/bin/xwayland-satellite";
ExecStartPost = "${pkgs.systemd}/bin/systemctl --user set-environment DISPLAY=:0";
Restart = "on-failure"; Restart = "on-failure";
}; };
Install.WantedBy = [ "graphical-session.target" ]; Install.WantedBy = [ "graphical-session.target" ];