diff options
| author | Fabian Montero <fabian@posixlycorrect.com> | 2025-10-07 15:13:17 -0600 |
|---|---|---|
| committer | Fabian Montero <fabian@posixlycorrect.com> | 2025-10-07 15:13:17 -0600 |
| commit | d7059ab8888ca605bc6a1f5822a070ef8c33b4a4 (patch) | |
| tree | c16997b631efa0666e9530187abe931e03df2137 /modules/waybar/options.nix | |
| parent | 39d71b5e72c432cdb15d69ce50698ef77a6dc772 (diff) | |
waybar: add waybar module
Diffstat (limited to 'modules/waybar/options.nix')
| -rw-r--r-- | modules/waybar/options.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/modules/waybar/options.nix b/modules/waybar/options.nix new file mode 100644 index 0000000..b2daa33 --- /dev/null +++ b/modules/waybar/options.nix @@ -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"; + }; + }; +} |
