home: themes: setup i3bar theme

This commit is contained in:
Antoine Martin 2021-04-22 02:33:39 +02:00
parent 494542899d
commit 273cbba17f
5 changed files with 53 additions and 1 deletions

24
home/themes/i3bar.nix Normal file
View file

@ -0,0 +1,24 @@
{ lib }:
with lib;
let
mkColorOption = import ./color.nix { inherit lib; };
in
types.submodule {
options = {
theme = mkOption {
type = types.submodule {
options = {
name = mkOption {
type = types.str;
default = "plain";
};
overrides = mkOption {
type = types.attrsOf types.str;
default = {};
};
};
};
default = {};
};
};
}