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