home: wm: i3: use 'recursiveMerge'
This commit is contained in:
parent
8ce123c527
commit
364ea0404a
|
@ -154,7 +154,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
# I don't care for i3's default values, I specify them all explicitly
|
# 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
|
# The basics
|
||||||
"${modifier}+Return" = "exec ${terminal}";
|
"${modifier}+Return" = "exec ${terminal}";
|
||||||
|
@ -298,7 +298,7 @@ in
|
||||||
in
|
in
|
||||||
lib.my.genAttrs' oneToNine createWorkspaceBinding;
|
lib.my.genAttrs' oneToNine createWorkspaceBinding;
|
||||||
in
|
in
|
||||||
builtins.foldl' (lhs: rhs: lhs // rhs) { } [
|
lib.my.recursiveMerge [
|
||||||
(createWorkspaceBindings modifier "workspace number")
|
(createWorkspaceBindings modifier "workspace number")
|
||||||
(createWorkspaceBindings "${modifier}+Shift" "move container to workspace number")
|
(createWorkspaceBindings "${modifier}+Shift" "move container to workspace number")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue