start migrating waybar to modularity
This commit is contained in:
parent
b74558e35b
commit
1947c56886
7 changed files with 506 additions and 439 deletions
12
modules/waybar/addname.nix
Normal file
12
modules/waybar/addname.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
lib: name:
|
||||
{
|
||||
left = lib.mkOption {
|
||||
type = with lib.types; listOf (enum [ name ]);
|
||||
};
|
||||
center = lib.mkOption {
|
||||
type = with lib.types; listOf (enum [ name ]);
|
||||
};
|
||||
right = lib.mkOption {
|
||||
type = with lib.types; listOf (enum [ name ]);
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue