[GH-ISSUE #852] Volume widget does not accept Pango markup #257

Closed
opened 2026-05-22 21:52:16 +01:00 by JakeStanger · 0 comments
Owner

Originally created by @bandithedoge on GitHub (Jan 24, 2025).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/852

Describe the bug

I always specify a font for all the icons in my widgets but this does not seem to work with volume.

To Reproduce
Steps to reproduce the behavior:

  1. Put some Pango markup in a volume widget's format field

Expected behavior
Font is properly set

System information:

  • Distro: NixOS
  • Compositor: Hyprland
  • Ironbar version: 0.16.1

Configuration

Config
...
    {
      "format": "<span font=\"JetBrainsMono Nerd Font 11\">{icon}</span> {percentage}%",
      "icons": {
        "muted": "󰖁",
        "volume_high": "󰕾",
        "volume_low": "󰕿",
        "volume_medium": "󰖀"
      },
      "type": "volume"
    },
...

Screenshots

Image

Originally created by @bandithedoge on GitHub (Jan 24, 2025). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/852 **Describe the bug** I always specify a font for all the icons in my widgets but this does not seem to work with volume. **To Reproduce** Steps to reproduce the behavior: 1. Put some Pango markup in a volume widget's format field **Expected behavior** Font is properly set **System information:** - Distro: NixOS - Compositor: Hyprland - Ironbar version: 0.16.1 **Configuration** <details><summary>Config</summary> ```json ... { "format": "<span font=\"JetBrainsMono Nerd Font 11\">{icon}</span> {percentage}%", "icons": { "muted": "󰖁", "volume_high": "󰕾", "volume_low": "󰕿", "volume_medium": "󰖀" }, "type": "volume" }, ... ``` </details> **Screenshots** ![Image](https://github.com/user-attachments/assets/d18b715b-f6c9-4028-9556-0408c10d1419)
JakeStanger 2026-05-22 21:52:16 +01:00
  • closed this issue
  • added the
    T:Bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#257
No description provided.