A simple waybar module to display the window layout of the current workspace, including the currently focused window. It uses the Niri's event-stream IPC.
- Niri 0.1.9 or newer
- Waybar with NerdFont configured
- jq
- Copy the script into
~/.config/waybar/scripts/waybar-niri-windows.sh - Add it to your waybar config, eg:
- (Optional) Style the module with CSS:
#custom-waybar-niri-windows {
font-size: 15pt;
}- Restart waybar:
pkill -SIGUSR2 waybar