summaryrefslogtreecommitdiff
path: root/modules/desktops/hyprland/plugins.nix
blob: e4d66ef13c0d3ec4184efa161bd9a9d2e67be5fa (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
  inputs,
  config,
  system,
  ...
}: {
  home-manager.users.${config.user} = {
    wayland.windowManager.hyprland = {
      plugins = [
        inputs.hyprland-plugins.packages.${system}.hyprexpo
        inputs.hy3.packages.${system}.hy3
      ];

      settings.plugin = {
        # hy3
        hy3 = {
          tabs = {
            height = 24;
            text_height = 9;
            text_padding = 10;
            padding = 2;
            render_text = true;
            text_font = "monospace";
            radius = config.theme.outerRadius;
            border_width = config.theme.borderWidth;

            "col.active" = "rgb(${config.theme.colors.base})";
            "col.active.border" = "rgb(${config.theme.colors.primary})";
            "col.active.text" = "rgb(${config.theme.colors.text})";
            "col.inactive" = "rgb(${config.theme.colors.base})";
            "col.inactive.border" = "rgb(${config.theme.colors.surface})";
            "col.inactive.text" = "rgb(${config.theme.colors.text})";
          };

          autotile = {
            enable = true;
          };
        };
      };
    };
  };
}