Setup xwayland support for niri
This commit is contained in:
parent
2ca27863d6
commit
80f5726dc0
37
flake.lock
37
flake.lock
|
|
@ -907,6 +907,22 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_9": {
|
||||
"locked": {
|
||||
"lastModified": 1722630782,
|
||||
"narHash": "sha256-hMyG9/WlUi0Ho9VkRrrez7SeNlDzLxalm9FwY7n/Noo=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "d04953086551086b44b6f3c6b7eeb26294f207da",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"pre-commit-hooks": {
|
||||
"inputs": {
|
||||
"flake-compat": [
|
||||
|
|
@ -1021,7 +1037,8 @@
|
|||
"home-manager": "home-manager",
|
||||
"niri": "niri",
|
||||
"nixd": "nixd",
|
||||
"nixpkgs": "nixpkgs_8"
|
||||
"nixpkgs": "nixpkgs_8",
|
||||
"xwayland-satellite-flake": "xwayland-satellite-flake"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
|
|
@ -1114,6 +1131,24 @@
|
|||
"repo": "xwayland-satellite",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"xwayland-satellite-flake": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs_9"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1722945455,
|
||||
"narHash": "sha256-Rvc6wTyOVIFr9Euxxomw1VS7rLyj7g/W7xs4NKmdl0s=",
|
||||
"owner": "cspark-development",
|
||||
"repo": "xwayland-satellite-flake",
|
||||
"rev": "4e1728ede8200e70809b42601693cb0c7ff41482",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "cspark-development",
|
||||
"repo": "xwayland-satellite-flake",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
|
|
|
|||
|
|
@ -18,6 +18,9 @@
|
|||
url = "github:nix-community/nixd";
|
||||
};
|
||||
|
||||
xwayland-satellite-flake = {
|
||||
url = "github:cspark-development/xwayland-satellite-flake";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ in
|
|||
mako &
|
||||
swaybg -i ${config.home.homeDirectory}/Pictures/Wallpapers/ourdream.png &
|
||||
wlsunset -l 51.5 -L 0.1 &
|
||||
xwayland-satellite & # Xwayland support via xwayland-satellite-flake
|
||||
'')
|
||||
(writeShellScriptBin "fuzzel-pass"
|
||||
''
|
||||
|
|
@ -78,6 +79,9 @@ fi
|
|||
MOZ_ENABLE_WAYLAND = "1";
|
||||
# Enable native wayland support for chromium and electron based applications
|
||||
NIXOS_OZONE_WL = "1";
|
||||
|
||||
# Xwayland support via xwayland-satellite-flake
|
||||
DISPLAY = ":0";
|
||||
};
|
||||
|
||||
# Start sway after login if on TTY1 (Default Linux TTY upon boot/login)
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ in
|
|||
wlprop # Clone of X11 xprop for wayland (To get window class names etc)
|
||||
wev # Clone of X11 xev for wayland
|
||||
waybar # Status bar
|
||||
xwayland-satellite # Xwayland support via xwayland-satellite-flake
|
||||
|
||||
swayimg # Image viewer
|
||||
lxqt.pcmanfm-qt # File Manager
|
||||
|
|
@ -122,6 +123,9 @@ in
|
|||
MOZ_ENABLE_WAYLAND = "1";
|
||||
# Enable native wayland support for chromium and electron based applications
|
||||
NIXOS_OZONE_WL = "1";
|
||||
|
||||
# Xwayland support via xwayland-satellite-flake
|
||||
DISPLAY = ":0";
|
||||
};
|
||||
environment.variables = {
|
||||
TERM = "foot";
|
||||
|
|
@ -135,6 +139,9 @@ in
|
|||
MOZ_ENABLE_WAYLAND = "1";
|
||||
# Enable native wayland support for chromium and electron based applications
|
||||
NIXOS_OZONE_WL = "1";
|
||||
|
||||
# Xwayland support via xwayland-satellite-flake
|
||||
DISPLAY = ":0";
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue