niri: update xwayland handling

This commit is contained in:
2025-10-29 12:39:59 -04:00
parent b7feeff19c
commit 49166c19b9

View File

@@ -36,10 +36,6 @@ in
disable-primary = true;
};
environment = {
DISPLAY = ":0";
};
# skip the hotkey menu thingy
hotkey-overlay.skip-at-startup = true;
@@ -61,6 +57,8 @@ in
};
};
xwayland-satellite.path = lib.getExe pkgs.xwayland-satellite;
spawn-at-startup = [
{
command = [
@@ -80,14 +78,6 @@ in
"${../wallpaper.png}"
];
}
# Xwayland on niri via xwayland-satellite
{
command = [
(lib.getExe pkgs.xwayland-satellite)
config.programs.niri.settings.environment.DISPLAY
];
}
];
window-rules = [