nixos-config/home/themes/i3bar.nix

29 lines
533 B
Nix
Raw Permalink Normal View History

2022-04-10 11:54:58 +02:00
{lib}: let
inherit
(lib)
2022-01-11 16:08:21 +01:00
mkOption
types
2022-04-10 11:54:58 +02:00
;
2022-01-11 16:08:21 +01:00
2022-04-10 11:54:58 +02:00
mkColorOption = import ./color.nix {inherit lib;};
2021-04-22 02:33:39 +02:00
in
2022-04-10 11:54:58 +02:00
types.submodule {
options = {
theme = mkOption {
type = types.submodule {
options = {
name = mkOption {
type = types.str;
default = "plain";
};
overrides = mkOption {
type = types.attrsOf types.str;
default = {};
};
2021-04-22 02:33:39 +02:00
};
};
2022-04-10 11:54:58 +02:00
default = {};
2021-04-22 02:33:39 +02:00
};
};
2022-04-10 11:54:58 +02:00
}