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