2024-11-15 21:33:07 -08:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
namespace,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
let
|
|
|
|
inherit (lib) mkIf;
|
2024-11-16 22:34:40 -08:00
|
|
|
inherit (lib.marleyos) mkEnableModule enabled;
|
2024-11-15 21:33:07 -08:00
|
|
|
|
2024-11-16 22:34:40 -08:00
|
|
|
cfg = config.marleyos.appearance.gtk;
|
|
|
|
inherit (config.marleyos.theme) colors;
|
2024-11-15 21:33:07 -08:00
|
|
|
in
|
|
|
|
{
|
2024-11-16 11:39:47 -08:00
|
|
|
options = mkEnableModule "appearance.gtk";
|
2024-11-15 21:33:07 -08:00
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
gtk = {
|
|
|
|
enable = true;
|
|
|
|
|
2024-11-16 22:34:40 -08:00
|
|
|
"${colors.base}" = enabled;
|
2024-11-15 21:33:07 -08:00
|
|
|
|
|
|
|
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|