niri-scripts/windows
2025-07-17 22:57:25 -04:00
..
niri-windows.py Initial commit 2025-07-17 22:57:25 -04:00
README.md Initial commit 2025-07-17 22:57:25 -04:00

niri-windows

Waybar module for counting windows open in current workspace.

Features

  • Tracks the state of windows per workspace.
  • Shows number of windows in the focused workspace.
  • Hover to show the applications and window titles.

Usage

Add the following snippet to the module configuration section of your Waybar config:

"custom/colcount": {
  "exec": "~/path/to/niri-windows.py",
  "return-type": "json",
  "restart-interval": "never",
  "format": "{} ",
},