News for hackers. Stuff that matters.
Re:Show HN: Demo of My Hyprland Setup by chills on Tuesday September 09, 2025 @02:35AM (#45178244)
In addition to sibling commenter, niri exposes everything over an IPC accessible via its cli (or a socket), so if you wanted, say, a keybind to switch to your terminal, no matter where it is, you could bind it to this:

  niri msg action focus-window --id $(niri msg --json windows | jq '.[] | select(.app_id=="foot") | .id')
Re:Show HN: Demo of My Hyprland Setup by boomskats on Tuesday September 09, 2025 @04:10AM (#45178998)
Nice! I have a jq/ipc based abomination of a run-or-raise equivalent that works spectacularly well, including cycling windows in order. I keep saying I'll stick it in a repo.