niri - disable tutorial, allow respawning swaylock

This commit is contained in:
Vinzenz Schroeter 2025-11-02 21:22:05 +01:00
parent 9272269c1e
commit 3427ab3936

View file

@ -123,6 +123,7 @@
};
prefer-no-csd = true;
hotkey-overlay.skip-at-startup = true;
window-rules = [
{
@ -172,7 +173,10 @@
# Suggested binds for running programs: terminal, app launcher, screen locker.
"Mod+T".action.spawn = "${lib.getBin pkgs.gnome-console}/bin/kgx";
"Mod+D".action.spawn = "fuzzel";
"Super+Alt+L".action.spawn = "${lib.getBin config.programs.swaylock.package}/bin/swaylock";
"Super+Alt+L" = {
action.spawn = "${lib.getBin config.programs.swaylock.package}/bin/swaylock";
allow-when-locked=true;
};
# You can also use a shell. Do this if you need pipes, multiple commands, etc.
# Note: the entire command goes as a single argument in the end.