summaryrefslogtreecommitdiff
path: root/home/wayland/modules/sway/theme.nix
blob: b1673da83a59b6e6bf306287cccd0412876a9479 (plain) (blame)
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
{ pkgs, ... }: {
  dconf.enable = false;

  gtk = {
    enable = true;

    gtk3 = {
      extraConfig.gtk-application-prefer-dark-theme = 1;
      # remove rounded corners and dropshadow
      # https://github.com/swaywm/sway/wiki/GTK-3-settings-on-Wayland
      extraCss = ''
        .titlebar,
        window {
                border-radius: 0;
                box-shadow: none;
        }

        decoration {
                box-shadow: none;
        }

        decoration:backdrop {
                box-shadow: none;
        }
      '';
    };
  };

  home.pointerCursor = {
    gtk.enable = true;

    name = "Adwaita";
    package = pkgs.adwaita-icon-theme;
  };
}