From 2db38a695fc0483056d59fdc772c277a54303fe7 Mon Sep 17 00:00:00 2001 From: Pavel Egorov Date: Tue, 16 Dec 2025 04:59:47 +0300 Subject: [niri] fix lock shortcut command --- .config/niri/binds.kdl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/niri') diff --git a/.config/niri/binds.kdl b/.config/niri/binds.kdl index 5656fbe..28b8ac6 100644 --- a/.config/niri/binds.kdl +++ b/.config/niri/binds.kdl @@ -16,7 +16,7 @@ binds { // Suggested binds for running programs: terminal, app launcher, screen locker. Mod+T hotkey-overlay-title="Open a Terminal: alacritty" { spawn "alacritty"; } Alt+Space hotkey-overlay-title="App menu" { spawn "vicinae" "toggle" ; } - Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; } + Super+Alt+L hotkey-overlay-title="Lock the Screen" { spawn "loginctl" "lock-session"; } // Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc. // Note: the entire command goes as a single argument. It's passed verbatim to `sh -c`. -- cgit v1.3