ironbar
ironbar copied to clipboard
The focused module goes blank on spawning a new window
Describe the bug When I press a keybinding to open a terminal for instance, the focused module goes blank. It updates its contents only when I move the focus back and forth.
To reproduce Steps to reproduce the behavior:
- Add module
focused - Open a new window
- Observe that the focused module goes blank
Expected behavior The focused module should show the currently focused window, i.e. the new one.
System information:
- Distro: NixOS 25.11
- Compositor: Niri 25.05.1
- Ironbar version: 0.16.1
Configuration
Config
let {
$focused = {
type = "focused"
icon_size = 16
}
}
in {
name = "mybar"
layer = "top"
position = "top"
anchor_to_edges = true
height = 20
start = [ ]
center = [ $focused ]
end = [ ]
}
Styles
* {
font-family: Liberation Sans;
font-size: 13px;
border: none;
margin: 0px;
padding: 0px;
}
Additional context
Screenshots
- Before
- After