move hyprspace to file

This commit is contained in:
Hadi
2024-11-25 09:59:45 +01:00
parent cb041ad452
commit de8de47de4
2 changed files with 13 additions and 5 deletions

View File

@@ -11,7 +11,12 @@ let
keyboardLayout = config.var.keyboardLayout;
in {
imports = [ ./animations.nix ./bindings.nix ./polkitagent.nix ];
imports = [
./animations.nix
./bindings.nix
./polkitagent.nix
# ./hyprspace.nix
];
home.packages = with pkgs; [
qt5.qtwayland
@@ -42,8 +47,6 @@ in {
systemd.enable = true;
package = inputs.hyprland.packages."${pkgs.system}".hyprland;
plugins = [ inputs.hyprspace.packages.${pkgs.system}.Hyprspace ];
settings = {
"$mod" = "SUPER";
"$shiftMod" = "SUPER_SHIFT";
@@ -53,8 +56,6 @@ in {
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
];
plugin = { overview = { autoDrag = false; }; };
monitor = [
"eDP-2,highres,0x0,1"
"DP-7, disable"

View File

@@ -0,0 +1,7 @@
{ inputs, pkgs, ... }: {
wayland.windowManager.hyprland = {
plugins = [ inputs.hyprspace.packages.${pkgs.system}.Hyprspace ];
settings = { plugin = { overview = { autoDrag = false; }; }; };
};
}