[GH-ISSUE #467] Modules not responding to icon settings #1558

Closed
opened 2026-05-22 22:52:58 +01:00 by JakeStanger · 1 comment
Owner

Originally created by @sporcupine on GitHub (Feb 23, 2024).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/467

Describe the bug
Traits relating to icons such as show-icon and icon-size have no effect on tray behavior

To Reproduce

  1. Install Ironbar
  2. Add module such as focused or upower
  3. Attempt to disable or change icons
  4. :(

Expected behavior
Icon traits should respond to configuration options

System information:

  • Distro: Arch
  • Compositor: Hyprland
  • Ironbar version: ironbar 0.15.0-pre

Configuration

Config ```

{
"position": "top",
"height": 30,
"icon_theme": "icon:Vivid-Glassy-Dark-Icons",
"start": [
{
"type": "clock",
"format": "%H:%M",
"class": ""
}
],
"center": [
{
"type": "focused",
"show-icon": false, // has no effect
"show-title": true
}
],
"end": [
{
"type": "music",
"player_type": "mpris",
"format": "{title} / {artist}",
"truncate": "end",
"icons": {
"play": "",
"pause": ""
}
},
{
"type": "upower",
"icon-size": "12" // has no effect
}
]
}


</details>


<details><summary>Styles</summary>

  • {
    font-family: Noto Serif Mono, mono;
    font-weight: 600;
    font-size: 14px;
    background: none;
    border: none;
    }

.clock:hover {
background-color: rgba(0, 0, 0, 0);
color: #33ccff;
}

.background {
border-bottom: 2px solid;
border-image: linear-gradient(45deg, #33ccff, #00ff99) 200;
background-color: rgba(30, 30, 46, 0.75);
}

.popup-clock, .popup-music {
background-color: rgba(30, 30, 46, 1);
}

.popup {
border: none;
}

</details>
Originally created by @sporcupine on GitHub (Feb 23, 2024). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/467 **Describe the bug** Traits relating to icons such as show-icon and icon-size have no effect on tray behavior **To Reproduce** 1. Install Ironbar 2. Add module such as focused or upower 3. Attempt to disable or change icons 4. :( **Expected behavior** Icon traits should respond to configuration options **System information:** - Distro: Arch - Compositor: Hyprland - Ironbar version: ironbar 0.15.0-pre **Configuration** <details><summary>Config</summary> ``` { "position": "top", "height": 30, "icon_theme": "icon:Vivid-Glassy-Dark-Icons", "start": [ { "type": "clock", "format": "%H:%M", "class": "" } ], "center": [ { "type": "focused", "show-icon": false, // has no effect "show-title": true } ], "end": [ { "type": "music", "player_type": "mpris", "format": "{title} / {artist}", "truncate": "end", "icons": { "play": "", "pause": "" } }, { "type": "upower", "icon-size": "12" // has no effect } ] } ``` </details> <details><summary>Styles</summary> ``` * { font-family: Noto Serif Mono, mono; font-weight: 600; font-size: 14px; background: none; border: none; } .clock:hover { background-color: rgba(0, 0, 0, 0); color: #33ccff; } .background { border-bottom: 2px solid; border-image: linear-gradient(45deg, #33ccff, #00ff99) 200; background-color: rgba(30, 30, 46, 0.75); } .popup-clock, .popup-music { background-color: rgba(30, 30, 46, 1); } .popup { border: none; } ``` </details>
JakeStanger 2026-05-22 22:52:58 +01:00
  • closed this issue
  • added the
    T:Bug
    label
Author
Owner

@sporcupine commented on GitHub (Feb 23, 2024):

I'm stupid and mixed up hyphens with underscores 💀

<!-- gh-comment-id:1961552667 --> @sporcupine commented on GitHub (Feb 23, 2024): I'm stupid and mixed up hyphens with underscores :skull:
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#1558
No description provided.