summaryrefslogtreecommitdiff
path: root/home/wayland/modules/sway/theme.nix
blob: f2467ee4cd57930b51a756d853ec3eeefe9ce376 (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.gnome.adwaita-icon-theme;
  };
}