2 releases
Uses new Rust 2024
new 0.1.1 | May 9, 2025 |
---|---|
0.1.0 | May 8, 2025 |
#6 in #compositor
56 downloads per month
22KB
277 lines
Nirius: utility commands for niri
Some utility commands for the niri wayland
compositor. You have to start the niriusd
daemon and then issue commands
using the nirius
utility. The daemon is best started by adding
spawn-at-startup "niriusd"
to niri's config.kdl
.
Commands
focus [OPTIONS]
: Focuses a matching window if there is one, otherwise exits non-zero. What windows match is specified using the options--app-id
(-a
) and--title
(-t
), both regular expressions. If there are multiple matching windows, the command cycles through them.focus-or-spawn [OPTIONS] [COMMAND]...
: Same behavior asfocus
except that it spawnsCOMMAND
instead of exiting non-zero if no matching window exists.nop
: Does nothing except having the side-effect of clearing the list of already visited windows captured during a sequence offocus
orfocus-or-spawn
commands.
For asking questions, sending feedback, or patches, refer to my public inbox
(mailinglist). Please mention the
project you are referring to in the subject, e.g., nirius
(or other projects
in different repositories).
It compiles, therefore there are no bugs. Oh well, if you still found one or want to request a feature, you can do so here.
Swayr & Swayrbar are licensed under the GPLv3 (or later).
Dependencies
~7–16MB
~188K SLoC