mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
i3: use null to disable a keybinding
This commit is contained in:
parent
2e9fbbc978
commit
5641ee3f94
1 changed files with 2 additions and 2 deletions
|
@ -637,11 +637,11 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
keybindingsStr = keybindings: concatStringsSep "\n" (
|
keybindingsStr = keybindings: concatStringsSep "\n" (
|
||||||
mapAttrsToList (keycomb: action: "bindsym ${keycomb} ${action}") keybindings
|
mapAttrsToList (keycomb: action: optionalString (action != null) "bindsym ${keycomb} ${action}") keybindings
|
||||||
);
|
);
|
||||||
|
|
||||||
keycodebindingsStr = keycodebindings: concatStringsSep "\n" (
|
keycodebindingsStr = keycodebindings: concatStringsSep "\n" (
|
||||||
mapAttrsToList (keycomb: action: "bindcode ${keycomb} ${action}") keycodebindings
|
mapAttrsToList (keycomb: action: optionalString (action != null) "bindcode ${keycomb} ${action}") keycodebindings
|
||||||
);
|
);
|
||||||
|
|
||||||
colorSetStr = c: concatStringsSep " " [ c.border c.background c.text c.indicator c.childBorder ];
|
colorSetStr = c: concatStringsSep " " [ c.border c.background c.text c.indicator c.childBorder ];
|
||||||
|
|
Loading…
Reference in a new issue