Make wlsunset start *after* graphical-session
This commit is contained in:
parent
381f54e0e1
commit
a3ecb00160
|
@ -107,6 +107,7 @@ with lib;
|
||||||
latitude = "46.31";
|
latitude = "46.31";
|
||||||
longitude = "6.38";
|
longitude = "6.38";
|
||||||
};
|
};
|
||||||
|
systemd.user.services.wlsunset.Unit.After = "graphical-session.target";
|
||||||
|
|
||||||
|
|
||||||
# Notification system
|
# Notification system
|
||||||
|
|
|
@ -86,6 +86,8 @@ in
|
||||||
Service.Slice = "session.slice";
|
Service.Slice = "session.slice";
|
||||||
Service.Type = "notify";
|
Service.Type = "notify";
|
||||||
Service.ExecStart = "${lib.getExe pkgs.xwayland-satellite} ${xwayland-display}";
|
Service.ExecStart = "${lib.getExe pkgs.xwayland-satellite} ${xwayland-display}";
|
||||||
|
Service.ExecStartPost = [ "systemctl --user set-environment DISPLAY=${xwayland-display}" ];
|
||||||
|
Service.ExecStopPre = [ "systemctl --user unset-environment" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.niri.settings = {
|
programs.niri.settings = {
|
||||||
|
|
Loading…
Reference in a new issue