refactoring complete

This commit is contained in:
Charlie Root 2024-07-21 15:11:55 +02:00
commit 5b18428ab0
10 changed files with 164 additions and 161 deletions

View file

@ -1,12 +1,7 @@
{
lib,
pkgs,
config,
}: let
in {
_: {
imports = [
./stylix.nix
./qt.nix
./gtk.nix
# ./qt.nix
# ./gtk.nix
];
}

View file

@ -0,0 +1,47 @@
{
config,
lib,
...
}: let
inherit (lib) types mkEnableOption mkOption;
in {
options.modules.usrEnv.style.stylix = {
enable = mkEnableOption "Stylix style Manager";
scheme = mkOption {
description = "Color Scheme";
type = types.str;
};
image = mkOption {
description = "Image";
type = types.path;
};
cursor = {
size = mkOption {
description = "Cursor Size";
type = types.int;
};
package = mkOption {
description = "Cursor Package";
type = types.package;
};
name = mkOption {
description = "Cursor Name";
type = types.str;
};
};
fontsizes = {
terminal = mkOption {
description = "Terminal font size";
type = types.int;
};
popups = mkOption {
description = "Popup font size";
type = types.int;
};
applications = mkOption {
description = "Application font size";
type = types.int;
};
};
};
}