summaryrefslogblamecommitdiff
path: root/home/wayland/modules/sway/theme.nix
blob: f2467ee4cd57930b51a756d853ec3eeefe9ce376 (plain) (tree)
1
2
3
4
5




                       




















                                                                     








                                            
{ 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;
  };
}