refactor: nix fmt classic to nix fmt
This commit is contained in:
parent
ca78adc858
commit
f9614371a3
57 changed files with 923 additions and 493 deletions
|
|
@ -4,13 +4,20 @@ let
|
|||
|
||||
workspaceNumbers = map toString (lib.range 1 9);
|
||||
|
||||
workspaceFocusBindings = listToAttrs (map (ws: {
|
||||
name = "alt-${ws}";
|
||||
value = "workspace ${ws}";
|
||||
}) workspaceNumbers);
|
||||
workspaceFocusBindings = listToAttrs (
|
||||
map (ws: {
|
||||
name = "alt-${ws}";
|
||||
value = "workspace ${ws}";
|
||||
}) workspaceNumbers
|
||||
);
|
||||
|
||||
workspaceSendBindings = listToAttrs (map (ws: {
|
||||
name = "alt-shift-${ws}";
|
||||
value = "move-node-to-workspace ${ws}";
|
||||
}) workspaceNumbers);
|
||||
in { inherit workspaceNumbers workspaceFocusBindings workspaceSendBindings; }
|
||||
workspaceSendBindings = listToAttrs (
|
||||
map (ws: {
|
||||
name = "alt-shift-${ws}";
|
||||
value = "move-node-to-workspace ${ws}";
|
||||
}) workspaceNumbers
|
||||
);
|
||||
in
|
||||
{
|
||||
inherit workspaceNumbers workspaceFocusBindings workspaceSendBindings;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue