mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-11 22:30:25 +01:00
fix: niri - add support for xwayland
This commit is contained in:
@@ -37,6 +37,10 @@ in
|
||||
config = lib.mkIf cfg.enable (
|
||||
lib.mkMerge [
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
xwayland-satellite
|
||||
];
|
||||
|
||||
programs.niri.config = cfg.settings;
|
||||
|
||||
# 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; })
|
||||
])
|
||||
])
|
||||
|
||||
# xwayland
|
||||
(leaf "spawn-at-startup" "xwayland-satellite")
|
||||
(plain "environment" [
|
||||
(leaf "DISPLAY" ":0")
|
||||
])
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user