niri: make workspace bindings only if the workspaces are fixed

This commit is contained in:
Natsu Kagami 2025-01-17 15:53:08 +01:00
parent 331e17df53
commit 1d2505253f
Signed by: nki
GPG key ID: 55A032EB38B49ADB
2 changed files with 23 additions and 20 deletions

View file

@ -47,6 +47,9 @@
};
};
programs.my-niri.enable = true;
programs.my-niri.workspaces = lib.genAttrs [ "04" "05" "06" "07" "08" "09" ] (_: {
fixed = false;
});
programs.niri.settings = {
input.keyboard.xkb.options = "ctrl:swapcaps";
};