2024-08-16 13:32:47 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
2024-08-16 23:31:12 +02:00
|
|
|
}: let
|
|
|
|
inherit (lib) mkEnableOption mkOption;
|
|
|
|
inherit (lib.types) str package;
|
2024-08-16 13:32:47 +02:00
|
|
|
in {
|
2024-08-16 23:31:12 +02:00
|
|
|
options.modules.usrEnv.style.qt = {
|
2024-08-16 13:32:47 +02:00
|
|
|
enable = mkEnableOption "qt theming";
|
|
|
|
name = mkOption {
|
|
|
|
description = "qt theme name";
|
2024-08-16 23:31:12 +02:00
|
|
|
default = "Catppuccin-Mocha-Dark";
|
|
|
|
type = str;
|
2024-08-16 13:32:47 +02:00
|
|
|
};
|
|
|
|
variant = mkOption {
|
|
|
|
description = "qt theme variant";
|
2024-08-16 23:31:12 +02:00
|
|
|
default = "mocha";
|
|
|
|
type = str;
|
2024-08-16 13:32:47 +02:00
|
|
|
};
|
|
|
|
accentColor = mkOption {
|
|
|
|
description = "accent colour for qt theme";
|
2024-08-16 23:31:12 +02:00
|
|
|
default = "green";
|
|
|
|
type = str;
|
2024-08-16 13:32:47 +02:00
|
|
|
};
|
|
|
|
package = mkOption {
|
|
|
|
description = "qt theme package";
|
2024-08-16 23:31:12 +02:00
|
|
|
default = pkgs.catppuccin-kde;
|
|
|
|
type = package;
|
2024-08-16 13:32:47 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|