diff --git a/apps/hyprland/home.nix b/apps/hyprland/home.nix index 65c4935..c8cb51f 100644 --- a/apps/hyprland/home.nix +++ b/apps/hyprland/home.nix @@ -3,6 +3,7 @@ ./hypr/binds.nix ./hypr/general.nix ./hypr/exec.nix + ./hypr/rules.nix ]; wayland.windowManager.hyprland.enable = true; wayland.windowManager.hyprland.systemd.enable = false; # for UWSM support... diff --git a/apps/hyprland/hypr/rules.nix b/apps/hyprland/hypr/rules.nix new file mode 100644 index 0000000..22ab014 --- /dev/null +++ b/apps/hyprland/hypr/rules.nix @@ -0,0 +1,9 @@ +{ + wayland.windowManager.hyprland.settings = { + windowrulev2 = [ + "float, class:^(org\.hakase\..*)$" + "center, class:^(org\.hakase\..*)$" + "size 80% 70%, class:^(org\.hakase\..*)$" # Example using percentages + ]; + }; +} diff --git a/modules/system/scripts.nix b/modules/system/scripts.nix index 118c27d..b05a22c 100644 --- a/modules/system/scripts.nix +++ b/modules/system/scripts.nix @@ -1,5 +1,5 @@ { imports = [ - ../../script/hakase-scripts.nix + ../../scripts/hakase-scripts.nix ]; }