diff --git a/modules/home/hyprland/keybinds.nix b/modules/home/hyprland/keybinds.nix index 5712067..3d71d63 100644 --- a/modules/home/hyprland/keybinds.nix +++ b/modules/home/hyprland/keybinds.nix @@ -48,10 +48,14 @@ bind = SUPER SHIFT, M, movetoworkspace, special:minimize bind = SUPER SHIFT, M, togglespecialworkspace, minimize - # Switch workspace ${lib.concatMapStringsSep "\n" (n: '' + # Switch workspace bind = SUPER, ${toString n}, focusworkspaceoncurrentmonitor, ${toString n} bind = SUPER SHIFT, ${toString n}, movetoworkspacesilent, ${toString n} + + # Escape special workspace + bind = SUPER, ${toString n}, togglespecialworkspace, blank + bind = SUPER, ${toString n}, togglespecialworkspace, blank '') (lib.range 1 9)} # Scroll through workspaces @@ -106,14 +110,6 @@ bind = , Print, exec, grimblast --notify --freeze copysave output bind = SHIFT, Print, exec, grimblast --notify --freeze copysave area - # Escape special workspace - ${lib.concatMapStringsSep "\n" (n: "bind = SUPER, ${toString n}, togglespecialworkspace, blank") ( - lib.range 1 9 - )} - ${lib.concatMapStringsSep "\n" (n: "bind = SUPER, ${toString n}, togglespecialworkspace, blank") ( - lib.range 1 9 - )} - # Scratchpad workspace workspace = special:scratchpad, gapsout:30 bind = SUPER , X, togglespecialworkspace, scratchpad