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