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

23 lines
489 B
Markdown

# 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:
```jsonc
"custom/colcount": {
"exec": "~/path/to/niri-windows.py",
"return-type": "json",
"restart-interval": "never",
"format": "{} ",
},
```