Minimal utilities for the Niri Wayland compositor.
This repo intentionally stays small and avoids sway-based components.
Lockscreen wrapper around gtklock.
- Configuration lives in
~/.config/niri-lock/ - Theme via
style.css
Rust-based idle daemon.
Warning
niri-idle is currently experimental and does not implement robust Wayland idle detection yet.
The installer is user-mode: it installs config files into ~/.config and the niri-idle binary into ~/.local/bin.
git clone https://github.com/youngcoder45/niri-utils
cd niri-utils
chmod +x install.sh
./install.shNotes:
- On Arch,
install.shcan optionally install dependencies viapacman. - On other distros, it skips dependency installation.
- It won’t overwrite your existing
~/.config/niri-lock/config.iniorstyle.css(safe install), but it will updatelock.sh.
Useful env vars:
NIRI_UTILS_SKIP_DEPS=1to skip dependency installation even on Arch.NIRI_UTILS_BIN_HOME=/some/pathto installniri-idlesomewhere else.
More details: see docs.
- docs/INSTALL.md
Add this to your Niri config:
bind "Mod+L" {
spawn "/bin/sh -c ~/.config/niri-lock/lock.sh"
}Docs: docs/NIRI_LOCK.md
Run manually:
niri-idleDocs: docs/NIRI_IDLE.md
niri-utils/
├── niri-lock/
│ ├── lock.sh
│ ├── config.ini
│ └── style.css
├── niri-idle/
│ ├── Cargo.toml
│ ├── Cargo.lock
│ └── src/
├── docs/
├── install.sh
└── README.md
See CONTRIBUTING.md and docs/DEVELOPMENT.md.
GNU General Public License v3.0