docs(hyprland): generalize keybind loop comments
This commit is contained in:
@@ -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
|
||||||
(
|
(
|
||||||
|
|||||||
Reference in New Issue
Block a user