From aec77639297518820c018f4719edef56441c748a Mon Sep 17 00:00:00 2001 From: KoenDR06 Date: Tue, 30 Sep 2025 20:04:00 +0200 Subject: [PATCH] special workspaces --- modules/wm/hyprland/default.nix | 3 +++ modules/wm/hyprland/keybindings.nix | 14 ++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/modules/wm/hyprland/default.nix b/modules/wm/hyprland/default.nix index 918bd55..eceda05 100644 --- a/modules/wm/hyprland/default.nix +++ b/modules/wm/hyprland/default.nix @@ -93,6 +93,8 @@ in { activeOpacity = 1.0; inactiveOpacity = 1.0; + dimSpecial = 0.4; + shadow = { enabled = true; range = 4; @@ -163,6 +165,7 @@ in { binds = { workspaceCenterOn = 1; dragThreshold = 0; + hideSpecialOnWorkspaceChange = true; }; ecosystem = { diff --git a/modules/wm/hyprland/keybindings.nix b/modules/wm/hyprland/keybindings.nix index 26b50b4..d37a5a9 100644 --- a/modules/wm/hyprland/keybindings.nix +++ b/modules/wm/hyprland/keybindings.nix @@ -226,6 +226,13 @@ in { params = "0 50"; } + { + flags = []; + mods = ["SUPER"]; + key = "grave"; + dispatcher = "togglespecialworkspace"; + params = ""; + } { flags = []; mods = ["SUPER"]; @@ -297,6 +304,13 @@ in { params = "10"; } + { + flags = []; + mods = ["SUPER" "SHIFT"]; + key = "grave"; + dispatcher = "movetoworkspace"; + params = "special"; + } { flags = []; mods = ["SUPER" "SHIFT"];