From da1fa0ef9b4c32625b1d958275bc9c1f19cc1121 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Fri, 20 Dec 2024 22:18:01 -0500 Subject: Patch rivertile bar --- software/windowmanager.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'software') diff --git a/software/windowmanager.nix b/software/windowmanager.nix index c89913b..5b85a0a 100644 --- a/software/windowmanager.nix +++ b/software/windowmanager.nix @@ -10,7 +10,8 @@ kanshi # auto-configure monitors on connect/disconnect - river # wm + patchedRiver # Use patched river + lua # river config luajitPackages.luaposix @@ -41,6 +42,17 @@ glib # for gdbus needed by volumectl ]; + # Overlay to patch river + nixpkgs.overlays = [ + (final: prev: { + patchedRiver = prev.river.overrideAttrs (oldAttrs: rec { + patches = (oldAttrs.patches or []) ++ [ + ../patches/rivertile.patch + ]; + }); + }) + ]; + # Screen capture/sharing: xdg.portal = { enable = true; -- cgit v1.2.3