services.polybar.settings
Home-Manager option
Polybar configuration. This takes a nix attrset and converts it to the strange data format that polybar uses. Each entry will be converted to a section in the output file. Several things are treated specially: nested keys are converted to dash-separated keys; the special text key is ignored as a nested key, to allow mixing different levels of nesting; and lists are converted to polybarβs foo-0, foo-1, ... format. For example: becomes:
type: attribute set of attribute setsDefault
{ }Example
declared in: <home-manager/modules/services/polybar.nix>source unavailable{ "module/volume" = { type = "internal/pulseaudio"; format.volume = "<ramp-volume> <label-volume>"; label.muted.text = "π"; label.muted.foreground = "#666"; ramp.volume = ["π" "π" "π"]; click.right = "pavucontrol &"; }; }