forked from deepState/trivionomicon
waybar: add waybar module
This commit is contained in:
parent
b424cc1c1c
commit
23758a11c1
3 changed files with 243 additions and 0 deletions
23
modules/waybar/options.nix
Normal file
23
modules/waybar/options.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{lib, ...}:
|
||||
with lib.types; {
|
||||
hm = {
|
||||
battery = lib.mkOption {
|
||||
type = bool;
|
||||
default = false;
|
||||
description = ''
|
||||
`true` to display battery info
|
||||
'';
|
||||
};
|
||||
fontFamily = lib.mkOption {
|
||||
type = str;
|
||||
example = "JetBrainsMono Nerd Font";
|
||||
description = ''
|
||||
needs to be a nerdfont
|
||||
'';
|
||||
};
|
||||
fontSize = lib.mkOption {
|
||||
type = str;
|
||||
default = "12px";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue