docs(hyprland): generalize keybind loop comments

This commit is contained in:
2026-10-11 12:55:09 -04:00
parent e18d8a9ca4
commit ad1d4ad6cd

View File

@@ -9,7 +9,7 @@
config = lib.mkIf config.modules.desktop.session.hyprland.enable { config = lib.mkIf config.modules.desktop.session.hyprland.enable {
registry.keybind.${config.networking.hostName} = lib.mkMerge [ registry.keybind.${config.networking.hostName} = lib.mkMerge [
# Generate numeric workspace focus keybinds. # Generate numeric workspace keybinds.
(lib.listToAttrs ( (lib.listToAttrs (
map (workspace: { map (workspace: {
name = "hyprland-workspace-${toString workspace}"; name = "hyprland-workspace-${toString workspace}";
@@ -22,7 +22,7 @@
}; };
}) (lib.range 1 9) }) (lib.range 1 9)
)) ))
# Generate directional focus keybinds from Vim movement keys. # Generate directional keybinds.
(lib.listToAttrs ( (lib.listToAttrs (
map map
( (