Skip to content

jaycem-dev/waybar-niri-windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Waybar Niri Windows

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.

screenshot

Requirements

  • Niri 0.1.9 or newer
  • Waybar with NerdFont configured
  • jq

Installation

  1. Copy the script into ~/.config/waybar/scripts/waybar-niri-windows.sh
  2. Add it to your waybar config, eg:
  "modules-left": ["custom/waybar-niri-windows", "niri/window"],

  "custom/waybar-niri-windows": {
    "exec": "~/.config/waybar/scripts/waybar-niri-windows.sh",
    "exec-on-event": true,
    "return-type": "json",
    "format": "{}"
  },
  1. (Optional) Style the module with CSS:
#custom-waybar-niri-windows {
    font-size: 15pt;
}
  1. Restart waybar:
pkill -SIGUSR2 waybar

About

Waybar module that shows the window layout of the current workspace.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages