2024-11-15 21:33:07 -08:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
2025-01-11 21:11:41 -08:00
|
|
|
}: let
|
2024-11-16 22:34:40 -08:00
|
|
|
cfg = config.marleyos.appearance.gtk;
|
2025-01-11 21:11:41 -08:00
|
|
|
in {
|
2025-01-13 21:05:10 -08:00
|
|
|
options.marleyos.appearance.gtk.enable = lib.mkEnableOption "gtk";
|
2024-11-15 21:33:07 -08:00
|
|
|
|
2025-01-13 21:05:10 -08:00
|
|
|
config = lib.mkIf cfg.enable {
|
2025-01-11 21:11:41 -08:00
|
|
|
home.pointerCursor.gtk.enable = true;
|
|
|
|
|
2024-11-15 21:33:07 -08:00
|
|
|
gtk = {
|
|
|
|
enable = true;
|
|
|
|
|
2025-01-13 21:05:10 -08:00
|
|
|
rose-pine.enable = lib.mkIf config.rose-pine.enable true;
|
2024-11-15 21:33:07 -08:00
|
|
|
|
|
|
|
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|