mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 19:49:45 +01:00
sway: use --to-code
in bindsym
This commit is contained in:
parent
b886cbea0b
commit
37202a1b70
1 changed files with 3 additions and 2 deletions
|
@ -10,8 +10,9 @@ rec {
|
||||||
|
|
||||||
keybindingsStr = keybindings:
|
keybindingsStr = keybindings:
|
||||||
concatStringsSep "\n" (mapAttrsToList (keycomb: action:
|
concatStringsSep "\n" (mapAttrsToList (keycomb: action:
|
||||||
optionalString (action != null) "bindsym ${keycomb} ${action}")
|
optionalString (action != null) "bindsym ${
|
||||||
keybindings);
|
lib.optionalString (moduleName == "sway") "--to-code "
|
||||||
|
}${keycomb} ${action}") keybindings);
|
||||||
|
|
||||||
keycodebindingsStr = keycodebindings:
|
keycodebindingsStr = keycodebindings:
|
||||||
concatStringsSep "\n" (mapAttrsToList (keycomb: action:
|
concatStringsSep "\n" (mapAttrsToList (keycomb: action:
|
||||||
|
|
Loading…
Reference in a new issue