export DISPLAY to session after xwayland-satellite starts
This commit is contained in:
@@ -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" ];
|
||||||
|
|||||||
Reference in New Issue
Block a user