From 364ea0404a259df30c45b11d222a8c3f832d6be5 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 23 Sep 2021 21:57:47 +0200 Subject: [PATCH] home: wm: i3: use 'recursiveMerge' --- home/wm/i3.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/wm/i3.nix b/home/wm/i3.nix index 14ec64e..f8080ad 100644 --- a/home/wm/i3.nix +++ b/home/wm/i3.nix @@ -154,7 +154,7 @@ in }; # I don't care for i3's default values, I specify them all explicitly - keybindings = builtins.foldl' (lhs: rhs: lhs // rhs) { } [ + keybindings = lib.my.recursiveMerge [ { # The basics "${modifier}+Return" = "exec ${terminal}"; @@ -298,7 +298,7 @@ in in lib.my.genAttrs' oneToNine createWorkspaceBinding; in - builtins.foldl' (lhs: rhs: lhs // rhs) { } [ + lib.my.recursiveMerge [ (createWorkspaceBindings modifier "workspace number") (createWorkspaceBindings "${modifier}+Shift" "move container to workspace number") {