ironbar
ironbar copied to clipboard
[Hyprland] Ironbar does not load on monitor connect.
Describe the bug
When I plug in a monitor the bar doesn't appear. ironbar reload
returns an error.
To Reproduce Steps to reproduce the behavior:
- Connect external monitors.
- Start ironbar.
- Bar should appear on all monitors.
- Disconnect monitors.
- Reconnect
- Bar will be on main display but not on externals.
- Try
ironbar reload
. - You get some variation of "error" or
Expected behavior Bar should spawn on newly connected monitors and not error on ironbar reload.
System information:
- Distro: Arch Linux
- Compositor: Hyprland (pkg:
extra/hyprland
)
Hyprland, built from branch at commit 9e781040d9067c2711ec2e9f5b47b76ef70762b3 (props: bump version to 0.41.1).
Date: Thu Jun 13 09:54:06 2024
Tag: v0.41.1, commits: 4818
flags: (if any)
- Ironbar version: ironbar 0.16.0-pre
-
yay -Q
reports: v0.15.1.r74.gd0bdf31-1
-
Configuration
Share your bar configuration and stylesheet as applicable:
Config
position = "top"
height = 4
[[start]]
type = "workspaces"
all_monitors = false
icon_size = 6
[[center]]
type = "focused"
show_icon = true
show_title = true
icon_size = 16
truncate = "end"
[[end]]
name = "recording-indicator"
type = "label"
label = '''{{poll:2000:
if [[ -f /tmp/wl-screenrec.pid ]]; then
echo
else
echo
fi
}}'''
[[end]]
type = 'sys_info'
format = [
' {cpu_percent}% | {temp_c:k10temp-Tctl}°C',
' {memory_percent}%',
' {disk_percent:/}%',
' {net_down:enp195s0f4u1u4} / {net_up:enp195s0f4u1u4} Mbps',
]
[[end]]
type = "upower"
format = "{percentage}%"
icon_size = 16
[[end]]
type = "clock"
format = "%H:%M"
[end.interval]
cpu = 1
disks = 300
memory = 30
networks = 3
temps = 5
Styles
Additional context Log:
2024-06-18T15:23:35.219091Z ERROR ironbar::logging: The application panicked (crashed).
Message: Failed to get workspaces: SerdeError(Error("invalid number", line: 50, column: 18))
Location: src/clients/compositor/hyprland.rs:203
Screenshots
If applicable, add screenshots to help explain your problem.