niri: update xwayland handling

This commit is contained in:
Simon Gardling 2025-10-29 12:39:59 -04:00
parent b7feeff19c
commit 49166c19b9
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

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 = [