[GH-ISSUE #966] Some module placeholder. ie network in sysinfo not working #3107

Closed
opened 2026-05-22 23:54:04 +01:00 by JakeStanger · 5 comments
Owner

Originally created by @psynyde on GitHub (May 10, 2025).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/966

Image

As shown in the screenshot above net_down is being treated as plain text instead of showing info. other placeholders like cpu and memory ones works just fine.

OS: nixos-unstable
ironbar version: 0.16.1

Originally created by @psynyde on GitHub (May 10, 2025). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/966 ![Image](https://github.com/user-attachments/assets/d308d8ee-63db-46aa-ab3e-f5393b8fe975) As shown in the screenshot above net_down is being treated as plain text instead of showing info. other placeholders like cpu and memory ones works just fine. OS: nixos-unstable ironbar version: 0.16.1
Author
Owner

@JakeStanger commented on GitHub (May 10, 2025):

Please share your full sys_info config

<!-- gh-comment-id:2868775182 --> @JakeStanger commented on GitHub (May 10, 2025): Please share your full sys_info config
Author
Owner

@psynyde commented on GitHub (May 10, 2025):

Please share your full sys_info config

{
  "position": "top",
  "height": 32,
  "layer": "top",
  "icon_theme": "WhiteSur-dark",
  "margin": {
    "top": 5,
    "left": 5,
    "right": 5
  },
  "start": [
    {
      "type": "custom",
      "class": "systray",
      "on_mouse_enter": "ironbar var set show_systray true",
      "on_mouse_exit": "ironbar var set show_systray false",
      "bar": [
        {
          "type": "label",
          "class": "systray-revealer-icon",
          "label": ""
        },
        {
          "type": "tray",
          "show_if": "#show_systray",
          "icon_size": 16
        }
      ]
    },
    {
      "type": "focused",
      "show_icon": false,
      "show_title": true,
      "icon_size": 32,
      "truncate": "end",
      "truncate.mode": "end",
      "truncate.length": 5,
      "truncate.max_length": 5
    }
  ],
  "center": [
    {
      "type": "workspaces",
      "name_map": {
        "1": "١",
        "2": "٢",
        "3": "٣",
        "4": "٤",
        "5": "٥",
        "6": "٦",
        "7": "٧",
        "8": "٨",
        "9": "٩",
        "10": "١٠"
      },
      "favorites": [
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7"
      ]
    }
  ],
  "end": [
    {
      "format": [
        "  {memory_percent}%",
        " {net_down#enp1s0}%"
      ],
      "interval": {
        "cpu": 30,
        "disks": 300,
        "memory": 30,
        "networks": 3,
        "temps": 5
      },
      "type": "sys_info"
    },
    {
      "type": "custom",
      "class": "custom-volume",
      "on_mouse_enter": "ironbar var set show_volume_percent true",
      "on_mouse_exit": "ironbar var set show_volume_percent false",
      "on_click_left": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
      "on_click_middle": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
      "on_click_right": "pavucontrol",
      "on_scroll_up": "wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+",
      "on_scroll_down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-",
      "tooltip": "Volume\n- Scroll to change\n- Left click to open popup\n- Middle click to toggle mute\n- Right click to open settings",
      "bar": [
        {
          "type": "volume",
          "class": "volume-icon",
          "format": "{icon}",
          "icons": {
            "volume_high": "",
            "volume_medium": "",
            "volume_low": "",
            "muted": " "
          }
        },
        {
          "type": "volume",
          "class": "volume-percent",
          "show_if": "#show_volume_percent",
          "format": "{percentage}%"
        }
      ]
    },
    {
      "type": "network_manager",
      "icon_size": 16
    },
    {
      "type": "clock",
      "format": "%I:%M",
      "format_popup": "%d/%m/%Y",
      "justify": "center"
    }
  ]
}

Here is the full config. also tried just net_down seems to have the same issue

<!-- gh-comment-id:2868779645 --> @psynyde commented on GitHub (May 10, 2025): > Please share your full sys_info config ```json { "position": "top", "height": 32, "layer": "top", "icon_theme": "WhiteSur-dark", "margin": { "top": 5, "left": 5, "right": 5 }, "start": [ { "type": "custom", "class": "systray", "on_mouse_enter": "ironbar var set show_systray true", "on_mouse_exit": "ironbar var set show_systray false", "bar": [ { "type": "label", "class": "systray-revealer-icon", "label": "" }, { "type": "tray", "show_if": "#show_systray", "icon_size": 16 } ] }, { "type": "focused", "show_icon": false, "show_title": true, "icon_size": 32, "truncate": "end", "truncate.mode": "end", "truncate.length": 5, "truncate.max_length": 5 } ], "center": [ { "type": "workspaces", "name_map": { "1": "١", "2": "٢", "3": "٣", "4": "٤", "5": "٥", "6": "٦", "7": "٧", "8": "٨", "9": "٩", "10": "١٠" }, "favorites": [ "1", "2", "3", "4", "5", "6", "7" ] } ], "end": [ { "format": [ " {memory_percent}%", " {net_down#enp1s0}%" ], "interval": { "cpu": 30, "disks": 300, "memory": 30, "networks": 3, "temps": 5 }, "type": "sys_info" }, { "type": "custom", "class": "custom-volume", "on_mouse_enter": "ironbar var set show_volume_percent true", "on_mouse_exit": "ironbar var set show_volume_percent false", "on_click_left": "pactl set-sink-mute @DEFAULT_SINK@ toggle", "on_click_middle": "pactl set-sink-mute @DEFAULT_SINK@ toggle", "on_click_right": "pavucontrol", "on_scroll_up": "wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+", "on_scroll_down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-", "tooltip": "Volume\n- Scroll to change\n- Left click to open popup\n- Middle click to toggle mute\n- Right click to open settings", "bar": [ { "type": "volume", "class": "volume-icon", "format": "{icon}", "icons": { "volume_high": "", "volume_medium": "", "volume_low": "", "muted": " " } }, { "type": "volume", "class": "volume-percent", "show_if": "#show_volume_percent", "format": "{percentage}%" } ] }, { "type": "network_manager", "icon_size": 16 }, { "type": "clock", "format": "%I:%M", "format_popup": "%d/%m/%Y", "justify": "center" } ] } ``` Here is the full config. also tried just `net_down` seems to have the same issue
Author
Owner

@JakeStanger commented on GitHub (May 10, 2025):

Aha, I tell you why. The module was overhauled on the git version for 0.17.0 which the docs reflect.

On 0.16.1 and below, you'll need to use {net_down:adapter}. You can find the old docs here: https://github.com/JakeStanger/ironbar/blob/v0.16.0/docs/modules/Sys-Info.md

<!-- gh-comment-id:2868799987 --> @JakeStanger commented on GitHub (May 10, 2025): Aha, I tell you why. The module was overhauled on the git version for 0.17.0 which the docs reflect. On 0.16.1 and below, you'll need to use `{net_down:adapter}`. You can find the old docs here: https://github.com/JakeStanger/ironbar/blob/v0.16.0/docs/modules/Sys-Info.md
Author
Owner

@psynyde commented on GitHub (May 10, 2025):

Aha, I tell you why. The module was overhauled on the git version for 0.17.0 which the docs reflect.

I see. This also then explains why the urgent highlight in workspace module not working.

But I have another issue about text from focused module not truncating. Should I open a separate issue for that as that'd go out of this issue's scope?

<!-- gh-comment-id:2869168372 --> @psynyde commented on GitHub (May 10, 2025): > Aha, I tell you why. The module was overhauled on the git version for 0.17.0 which the docs reflect. I see. This also then explains why the urgent highlight in workspace module not working. But I have another issue about text from focused module not truncating. Should I open a separate issue for that as that'd go out of this issue's scope?
Author
Owner

@JakeStanger commented on GitHub (May 10, 2025):

Yes please. I'll close this issue now as the original issue is resolved.

<!-- gh-comment-id:2869174738 --> @JakeStanger commented on GitHub (May 10, 2025): Yes please. I'll close this issue now as the original issue is resolved.
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#3107
No description provided.