diff --git a/configs/nixos/modules/desktop/session/hyprland/default.nix b/configs/nixos/modules/desktop/session/hyprland/default.nix index ad18375..51a1ff3 100644 --- a/configs/nixos/modules/desktop/session/hyprland/default.nix +++ b/configs/nixos/modules/desktop/session/hyprland/default.nix @@ -9,6 +9,18 @@ config = lib.mkIf config.modules.desktop.session.hyprland.enable { registry.keybind.${config.networking.hostName} = lib.mkMerge [ + (lib.listToAttrs ( + map (workspace: { + name = "hyprland-workspace-${toString workspace}"; + value = { + keys = "SUPER + ${toString workspace}"; + action = { + kind = "focus"; + inherit workspace; + }; + }; + }) (lib.range 1 9) + )) { hyprland-focus-left = { keys = "SUPER + H"; @@ -42,18 +54,6 @@ }; }; } - (lib.listToAttrs ( - map (workspace: { - name = "hyprland-workspace-${toString workspace}"; - value = { - keys = "SUPER + ${toString workspace}"; - action = { - kind = "focus"; - inherit workspace; - }; - }; - }) (lib.range 1 9) - )) ]; # This program integration owns the session, portals, and polkit, launched