mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 02:08:29 +02:00
fix: niri - add support for xwayland
This commit is contained in:
@@ -37,6 +37,10 @@ in
|
|||||||
config = lib.mkIf cfg.enable (
|
config = lib.mkIf cfg.enable (
|
||||||
lib.mkMerge [
|
lib.mkMerge [
|
||||||
{
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
xwayland-satellite
|
||||||
|
];
|
||||||
|
|
||||||
programs.niri.config = cfg.settings;
|
programs.niri.config = cfg.settings;
|
||||||
|
|
||||||
# NOTE: this executable is used by greetd to start a wayland session when system boot up
|
# NOTE: this executable is used by greetd to start a wayland session when system boot up
|
||||||
|
|||||||
@@ -272,5 +272,11 @@ niri: {
|
|||||||
# (leaf "spring" { damping-ratio=0.6; stiffness=1000; epsilon=0.001; })
|
# (leaf "spring" { damping-ratio=0.6; stiffness=1000; epsilon=0.001; })
|
||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
||||||
|
# xwayland
|
||||||
|
(leaf "spawn-at-startup" "xwayland-satellite")
|
||||||
|
(plain "environment" [
|
||||||
|
(leaf "DISPLAY" ":0")
|
||||||
|
])
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user