feat: add exclusive tag + minor refactor

This commit is contained in:
atagen 2025-06-23 00:34:43 +10:00
parent 66d1dfacda
commit 0997b124a2
4 changed files with 114 additions and 76 deletions

View file

@ -56,7 +56,7 @@ niri-tag = {
````
it is assumed you use niri-flake, or else will use the `stable` package output; this is important for the niri IPC definitions.
next,\
next,
- add `inputs.niri-tag.nixosModules.niri-tag` to your module imports
- add `services.niri-tag.enable = true;` somewhere in your config
- if you wish to use a stable niri instead of unstable from niri-flake (default), set `services.niri-tag.package = inputs.niri-tag.packages.${pkgs.system}.stable;`
@ -87,7 +87,7 @@ set up:
alternatively,\
you may bind as you see fit the tagctl commands `add` `remove` `toggle` for window tagging,
and `enable-tag` `disable-tag` `toggle-tag` for managing tags.
and `enable-tag` `disable-tag` `toggle-tag` `exclusive-tag` for managing tags.
all commands (except `remove`) take a tag number from 1-255 after their command.