summaryrefslogtreecommitdiff
path: root/software/windowmanager.nix
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-12-20 22:18:01 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2024-12-20 22:18:01 -0500
commitda1fa0ef9b4c32625b1d958275bc9c1f19cc1121 (patch)
tree942e4d658d01ac13e61d75756db9da5e4fe3aa30 /software/windowmanager.nix
parentfa7c8c14fe1d3f72b60773efd6ab50c438e105d7 (diff)
Patch rivertile bar
Diffstat (limited to 'software/windowmanager.nix')
-rw-r--r--software/windowmanager.nix14
1 files changed, 13 insertions, 1 deletions
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;