summaryrefslogtreecommitdiff
path: root/modules/home-manager/hypr/decoration.nix
blob: e9d5dfe37dd22e28ea2f1300ecd8bf48697848ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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]"
      ];

    };
  };
}