system/services/regreet: launch cage on last output (fixes multiple monitors)

This commit is contained in:
Anthony Rodriguez 2024-10-13 11:40:20 +02:00
parent 5b9382e0fc
commit c9615f8d16
Signed by: nezia
GPG key ID: EE3BE97C040A86CE

View file

@ -37,7 +37,7 @@ in {
enable = true; enable = true;
settings = rec { settings = rec {
default_session = { default_session = {
command = "${lib.getExe pkgs.cage} -s -d -- ${lib.getExe config.programs.regreet.package}"; command = "${lib.getExe pkgs.cage} -s -d -m last -- ${lib.getExe config.programs.regreet.package}";
user = "greeter"; user = "greeter";
}; };
initial_session = default_session; initial_session = default_session;