{ lib, config, namespace, ... }: let inherit (lib) mkIf; inherit (lib.marleyos) mkEnableModule enabled; cfg = config.marleyos.appearance.gtk; inherit (config.marleyos.theme) colors; in { options = mkEnableModule "appearance.gtk"; config = mkIf cfg.enable { gtk = { enable = true; "${colors.base}" = enabled; gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc"; }; }; }