Skip to content

Commit

Permalink
move hyprspace to file
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherhadi committed Nov 25, 2024
1 parent cb041ad commit de8de47
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
11 changes: 6 additions & 5 deletions home/system/hyprland/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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";
Expand All @@ -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"
Expand Down
7 changes: 7 additions & 0 deletions home/system/hyprland/hyprspace.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{ inputs, pkgs, ... }: {

wayland.windowManager.hyprland = {
plugins = [ inputs.hyprspace.packages.${pkgs.system}.Hyprspace ];
settings = { plugin = { overview = { autoDrag = false; }; }; };
};
}

0 comments on commit de8de47

Please sign in to comment.