diff --git a/homeConfigurations/vinzenz/niri.nix b/homeConfigurations/vinzenz/niri.nix index 03376a7..8e4daa2 100644 --- a/homeConfigurations/vinzenz/niri.nix +++ b/homeConfigurations/vinzenz/niri.nix @@ -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.