2024-11-16 05:33:07 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
2025-01-12 05:11:41 +00:00
|
|
|
}: let
|
2024-11-17 06:34:40 +00:00
|
|
|
cfg = config.marleyos.appearance.gtk;
|
2025-01-12 05:11:41 +00:00
|
|
|
in {
|
2025-01-14 05:05:10 +00:00
|
|
|
options.marleyos.appearance.gtk.enable = lib.mkEnableOption "gtk";
|
2024-11-16 05:33:07 +00:00
|
|
|
|
2025-01-14 05:05:10 +00:00
|
|
|
config = lib.mkIf cfg.enable {
|
2025-01-12 05:11:41 +00:00
|
|
|
home.pointerCursor.gtk.enable = true;
|
|
|
|
|
2024-11-16 05:33:07 +00:00
|
|
|
gtk = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
|
2025-03-02 18:54:23 +00:00
|
|
|
|
|
|
|
iconTheme = with config.stylix.iconTheme; {
|
|
|
|
name =
|
|
|
|
if config.lib.stylix.colors.variant == "dark"
|
|
|
|
then dark
|
|
|
|
else light;
|
|
|
|
inherit package;
|
|
|
|
};
|
2024-11-16 05:33:07 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|