niri: update xwayland handling
This commit is contained in:
parent
b7feeff19c
commit
49166c19b9
@ -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 = [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user