Adjust GTK config to reduce conflict with Plasma settings

This commit is contained in:
Evie Litherland-Smith 2024-07-11 09:04:27 +01:00
parent 1b9e5a3073
commit 0e4663f6df

View file

@ -2,7 +2,6 @@
config,
lib,
pkgs,
accentColourName,
...
}: {
home = {
@ -31,10 +30,6 @@
services.syncthing.enable = true;
programs.mpv.enable = true;
gtk = let
extraCss = import ./base16/gtk.nix {
inherit (config) scheme;
inherit accentColourName;
};
toCapital = string:
with lib; let
chars = let
@ -48,16 +43,13 @@
);
in {
enable = true;
gtk3 = {inherit extraCss;};
gtk4 = {inherit extraCss;};
gtk2.configLocation = "${config.home.homeDirectory}/.hm-gtkrc-2.0";
theme = {
package = pkgs.materia-theme;
name = "Materia-${config.scheme.variant}";
};
iconTheme = let
color = "violet";
in {
package = pkgs.papirus-icon-theme.override {inherit color;};
iconTheme = {
package = pkgs.papirus-icon-theme.override {color = "violet";};
name = "Papirus-${toCapital config.scheme.variant}";
};
};