From d22beb4580a83dd787955a2d11916b70941a0783 Mon Sep 17 00:00:00 2001 From: kenji Date: Thu, 21 May 2026 20:59:09 -0500 Subject: [PATCH] fix(hypr): plugins future proofing via following hyprland pkgs although hyprlandPlugins is an easy way to handle plugins, it is not great due to pkg incompatibility. --- apps/hyprland/default.nix | 6 +++--- apps/hyprland/hypr/binds.nix | 2 +- flake.nix | 8 ++++++++ 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/apps/hyprland/default.nix b/apps/hyprland/default.nix index d81fffa..9c1b29e 100644 --- a/apps/hyprland/default.nix +++ b/apps/hyprland/default.nix @@ -19,9 +19,9 @@ wayland.windowManager.hyprland.enable = true; wayland.windowManager.hyprland.systemd.enable = false; # for UWSM support... wayland.windowManager.hyprland.plugins = [ - pkgs.hyprlandPlugins.hyprsplit - pkgs.hyprlandPlugins.hypr-dynamic-cursors - pkgs.hyprlandPlugins.hyprspace + inputs.hyprsplit.packages.${pkgs.system}.hyprsplit + # inputs.hypr-dynamic-cursors.packages.${pkgs.system}.hypr-dynamic-cursors + # inputs.hyprspace.packages.${pkgs.system}.Hyprspace pkgs.hyprlandPlugins.hyprbars ]; } diff --git a/apps/hyprland/hypr/binds.nix b/apps/hyprland/hypr/binds.nix index ee837a4..c451c47 100644 --- a/apps/hyprland/hypr/binds.nix +++ b/apps/hyprland/hypr/binds.nix @@ -65,7 +65,7 @@ "CTRL SHIFT, J, Move to next workspace, split:workspace, +1" # hyprspace - workspace overview - "SUPER, E, Toggle Workspace Overview, overview:toggle" + # "SUPER, E, Toggle Workspace Overview, overview:toggle" ] ++ ( # Generate binds for Super + [1-5] to switch workspaces with special workspace toggle support diff --git a/flake.nix b/flake.nix index d51f7b2..db6654e 100644 --- a/flake.nix +++ b/flake.nix @@ -34,6 +34,14 @@ url = "github:hyprwm/hyprland-plugins"; inputs.hyprland.follows = "hyprland"; }; + hyprspace = { + url = "github:KZDKM/Hyprspace"; + inputs.hyprland.follows = "hyprland"; + }; + hypr-dynamic-cursors = { + url = "github:Virtcode/hypr-dynamic-cursors"; + inputs.hyprland.follows = "hyprland"; + }; nixovim = { # FIXME: treesitter does not install automatically (disabled due to read-only problems) url = "git+https://git.sakamoto.dev/kenji/nixovim.git";