ironbar icon indicating copy to clipboard operation
ironbar copied to clipboard

The focused module goes blank on spawning a new window

Open randoragon opened this issue 8 months ago • 0 comments

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:

  1. Add module focused
  2. Open a new window
  3. 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

  1. Before Image
  2. After Image

randoragon avatar Aug 10 '25 08:08 randoragon