home: themes: setup theme types for i3
This commit is contained in:
parent
0cdb05ecf1
commit
8dff0e21e1
4 changed files with 215 additions and 0 deletions
9
home/themes/color.nix
Normal file
9
home/themes/color.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ lib }:
|
||||
let
|
||||
mkColorOption = with lib; {default ? "#000000", description ? "" }: mkOption {
|
||||
inherit description default;
|
||||
example = "#abcdef";
|
||||
type = types.strMatching "#[0-9a-f]{6}";
|
||||
};
|
||||
in
|
||||
mkColorOption
|
||||
Loading…
Add table
Add a link
Reference in a new issue