Niri companion scripts
Project description
Niri Companion
Niri Companion is a toolkit that adds extra functionality to niri.
Installation
Install with pipx or pip accordingly:
pipx install niri-companion
pip install niri-companion
Configuration
The configuration file is located at, check out the example configuration file:
~/.config/niri-companion/settings.toml
Tools
niri-genconfig
Generates a config.kdl by concatenating files from a specified directory.
This lets you split your configuration into smaller, more manageable pieces.
niri-ipcext
[!WARNING]
niri-ipcextdoes not use a proper KDL parser/writer. Instead, it relies on a custom workaround described above, which can be brittle in some cases.
Edits config.kdl by replacing old_text with new_text.
To revert the changes, run niri-genconfig generate.
This provides IPC-like behavior, similar to Hyprland's IPC.
niri-workspaces
Lets you define workflows that automatically launch specific programs on specific workspaces. For example: open your browser on workspace 1 and your editor on workspace 2.
Important Notes
The config.kdl file should be treated as temporary:
niri-genconfigwill overwrite it when generating configs.niri-ipcextdepends onconfig.kdlbeing updated dynamically.
If you want a permanent configuration, keep it in separate files and let niri-genconfig handle the final config.kdl.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file niri_companion-1.0.0.tar.gz.
File metadata
- Download URL: niri_companion-1.0.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffc90eb30e9cf545ad1527b5950dc9c0e5839a95c3832c1da7811505bb4ed129
|
|
| MD5 |
4b254a9eb108123d2a4e5709596a3448
|
|
| BLAKE2b-256 |
cc479fcb53fcfa3a10c5a8734715fc28831bae555f018acf8b95cc0ea0f40fc4
|
File details
Details for the file niri_companion-1.0.0-py3-none-any.whl.
File metadata
- Download URL: niri_companion-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
994e61bf6660bc336375eeab21277910979f65cbcf7a2d65c16671274d8198b1
|
|
| MD5 |
07d6c0ad229987243f9b31de3b1d5351
|
|
| BLAKE2b-256 |
7325dfa673669a695394563590d78bdc00528789f5d7a8de5251954589313c0f
|