diff --git a/flake.nix b/flake.nix index 1db81196..ca17b757 100644 --- a/flake.nix +++ b/flake.nix @@ -40,6 +40,9 @@ # Manage Plasma desktop with Nix plasma-manager.url = "github:pjones/plasma-manager"; plasma-manager.inputs.nixpkgs.follows = "nixpkgs"; + # Gnome / KDE-like overview + Hyprspace.url = "github:KZDKM/Hyprspace"; + Hyprspace.inputs.hyprland.follows = "nixpkgs"; }; outputs = { self, nixpkgs, sops-nix, deploy-rs, ... } @inputs: let diff --git a/home-manager/common/desktops/hyprland/components/hyprland.nix b/home-manager/common/desktops/hyprland/components/hyprland.nix index 30545612..f0603b46 100644 --- a/home-manager/common/desktops/hyprland/components/hyprland.nix +++ b/home-manager/common/desktops/hyprland/components/hyprland.nix @@ -1,10 +1,11 @@ -{ config, pkgs, ... }: { +{ config, pkgs, inputs, ... }: { wayland.windowManager.hyprland = { enable = true; - plugins = with pkgs.hyprlandPlugins; [ - # hyprbars - hyprexpo - hy3 + plugins = [ + # pkgs.hyprlandPlugins.hyprbars + # pkgs.hyprlandPlugins.hyprexpo + # pkgs.hyprlandPlugins.hy3 + inputs.Hyprspace.packages.${pkgs.system}.Hyprspace ]; extraConfig = '' # Resize @@ -56,7 +57,7 @@ border_size = "2"; resize_on_border = "true"; extend_border_grab_area = "15"; - layout = "hy3"; + layout = "dwindle"; }; input = { kb_layout = "us"; @@ -130,7 +131,7 @@ ]; bind = [ - ''SUPER, , hyprexpo:expo, toggle'' + ''SUPER,, hyprexpo:expo, toggle'' ''SUPER, Q, exec, kitty'' ''SUPER, C, killactive,'' ''SUPER, M, exit,''