From 796bea02aa0589b62ed9b04a3068cc7ca6080cec Mon Sep 17 00:00:00 2001 From: ulve Date: Fri, 19 Jun 2026 13:56:34 +0200 Subject: [PATCH] export DISPLAY to session after xwayland-satellite starts --- niri.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/niri.nix b/niri.nix index bc99798..e82e178 100644 --- a/niri.nix +++ b/niri.nix @@ -46,6 +46,7 @@ }; Service = { ExecStart = "${pkgs.xwayland-satellite}/bin/xwayland-satellite"; + ExecStartPost = "${pkgs.systemd}/bin/systemctl --user set-environment DISPLAY=:0"; Restart = "on-failure"; }; Install.WantedBy = [ "graphical-session.target" ];