1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-29 09:58:32 +02:00

sway: use --to-code in bindsym

This commit is contained in:
Roman Volosatovs 2020-04-13 15:53:22 +02:00 committed by Robert Helgesson
parent b886cbea0b
commit 37202a1b70
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89

View File

@ -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: