diff options
Diffstat (limited to 'unmoved-modules/home-manager/hypr/decoration.nix')
| -rw-r--r-- | unmoved-modules/home-manager/hypr/decoration.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/unmoved-modules/home-manager/hypr/decoration.nix b/unmoved-modules/home-manager/hypr/decoration.nix new file mode 100644 index 0000000..e9d5dfe --- /dev/null +++ b/unmoved-modules/home-manager/hypr/decoration.nix @@ -0,0 +1,28 @@ +{ config, lib, inputs, ... }: + +{ + config = lib.mkIf config.hyprland.enable { + wayland.windowManager.hyprland.settings = { + decoration = { + rounding = 0; + }; + + animations = { + enabled = false; + }; + + workspace = [ + "w[tv1], gapsout:0, gapsin:0" + "f[1], gapsout:0, gapsin:0" + ]; + + windowrule = [ + "border_size 0, match:float 0, match:workspace w[tv1]" + "rounding 0, match:float 0, match:workspace w[tv1]" + "border_size 0, match:float 0, match:workspace f[1]" + "rounding 0, match:float 0, match:workspace f[1]" + ]; + + }; + }; +} |
