added stuff
This commit is contained in:
parent
937f28770d
commit
236b8c2a6b
907 changed files with 70990 additions and 0 deletions
43
nyx/modules/options/theme/qt.nix
Normal file
43
nyx/modules/options/theme/qt.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkOption types mkEnableOption;
|
||||
cfg = config.modules.style;
|
||||
in {
|
||||
options = {
|
||||
modules = {
|
||||
style = {
|
||||
qt = {
|
||||
enable = mkEnableOption "QT Style Module";
|
||||
|
||||
theme = {
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.catppuccin-kde.override {
|
||||
flavour = ["mocha"];
|
||||
accents = ["blue"];
|
||||
winDecStyles = ["modern"];
|
||||
};
|
||||
description = "The theme package to be used for QT programs";
|
||||
};
|
||||
|
||||
name = mkOption {
|
||||
type = types.str;
|
||||
default = "Catppuccin-Mocha-Dark";
|
||||
description = "The name for the QT theme package";
|
||||
};
|
||||
};
|
||||
|
||||
kdeglobals.source = mkOption {
|
||||
type = types.path;
|
||||
default = "${cfg.qt.theme.package}/share/color-schemes/CatppuccinMochaBlue.colors";
|
||||
description = "The source file for the kdeglobals file. Usually provided by the qt theme package";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue