home: wm: i3: use 'recursiveMerge'

This commit is contained in:
Bruno BELANYI 2021-09-23 21:57:47 +02:00
parent 8ce123c527
commit 364ea0404a

View file

@ -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")
{