From 491b8f8e6dab4e215d1247d410ed5d8abe5bfca2 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Tue, 15 Jul 2025 20:27:42 +0200 Subject: [PATCH] hyprland: use official hide-workspace functionality --- modules/home/de/hyprland/keybinds.nix | 2 -- modules/home/de/hyprland/settings.nix | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/home/de/hyprland/keybinds.nix b/modules/home/de/hyprland/keybinds.nix index 79758c2..74f953f 100644 --- a/modules/home/de/hyprland/keybinds.nix +++ b/modules/home/de/hyprland/keybinds.nix @@ -52,8 +52,6 @@ # Switch workspace ${lib.concatMapStringsSep "\n" (n: '' bind = SUPER, ${toString n}, focusworkspaceoncurrentmonitor, ${toString n} - bind = SUPER, ${toString n}, togglespecialworkspace, blank - bind = SUPER, ${toString n}, togglespecialworkspace, blank bind = SUPER SHIFT, ${toString n}, movetoworkspacesilent, ${toString n} '') (lib.range 1 9)} diff --git a/modules/home/de/hyprland/settings.nix b/modules/home/de/hyprland/settings.nix index bc004b5..c579f94 100644 --- a/modules/home/de/hyprland/settings.nix +++ b/modules/home/de/hyprland/settings.nix @@ -62,6 +62,8 @@ key_press_enables_dpms = true; }; + binds.hide_special_on_workspace_change = true; + workspace = [ # No gaps when only one window "w[tv1], gapsout:0, gapsin:0"