Skip to content

Request: Format-icons on disk and memory #3916

Open
@mahlquistj

Description

@mahlquistj

I would, personally, love for the disk-module to support this aswell. I know that it probably doesn't because you can't be sure which value it should use to determine the icons (e.g. should it use percentage_used or percentage_free).

My suggestion to applying this to disk could be introducing a format-icons-by value or alike. So that you could define it like so:

"disk": {
  "format": "{icon}",
  "format-icons-by": "{percentage_used}",
  "format-icons": ["" "󰪞" "󰪟" "󰪠" "󰪡" "󰪢" "󰪣" "󰪤" "󰪥"],
}

EDIT: Forgot to mention that the Memory-module does support format-icons, but it isn't documented in the wiki. Also i feel like if the above solution could apply, then the format-icons-by could be implemented for memory as well.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions