From ad4dbd46d5533b3ac6cfb56c3660aea9ea9688ab Mon Sep 17 00:00:00 2001 From: moons14 Date: Mon, 3 Nov 2025 03:39:25 +0900 Subject: [PATCH] fix --- modules/home/lock.nix | 2 +- modules/home/niri/config.kdl | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/home/lock.nix b/modules/home/lock.nix index c5a5020..4322151 100644 --- a/modules/home/lock.nix +++ b/modules/home/lock.nix @@ -4,7 +4,7 @@ let noctaliaPkg = inputs.noctalia.packages.${pkgs.system}.default; noctaliaExe = lib.getExe noctaliaPkg; - lockCmd = "${pkgs.bash}/bin/bash -lc '${noctaliaExe} ipc call sessionMenu lock'"; + lockCmd = "${pkgs.bash}/bin/bash -lc '${noctaliaExe} ipc call lockScreen lock'"; lockAndSuspendCmd = "${pkgs.bash}/bin/bash -lc '${noctaliaExe} ipc call sessionMenu lockAndSuspend'"; dpmsOff = "${pkgs.niri}/bin/niri msg action power-off-monitors"; diff --git a/modules/home/niri/config.kdl b/modules/home/niri/config.kdl index 300d9ce..5a87085 100644 --- a/modules/home/niri/config.kdl +++ b/modules/home/niri/config.kdl @@ -352,15 +352,15 @@ binds { // Custom settings Mod+T hotkey-overlay-title="Open a Terminal: ghostty" { spawn "ghostty"; } Mod+D hotkey-overlay-title="Run an Application: vicinae" { spawn "vicinae" "toggle"; } - Super+Alt+L hotkey-overlay-title="Lock the Screen: noctalia" { spawn "qs" "-c" "noctalia-shell" "ipc" "call" "lockScreen" "lock"; } + Super+Alt+L hotkey-overlay-title="Lock the Screen: noctalia" { spawn "noctalia-shell" "ipc" "call" "lockScreen" "lock"; } - XF86AudioRaiseVolume allow-when-locked=true { spawn "qs" "-c" "noctalia-shell" "ipc" "call" "volume" "increase"; } - XF86AudioLowerVolume allow-when-locked=true { spawn "qs" "-c" "noctalia-shell" "ipc" "call" "volume" "decrease"; } - XF86AudioMute allow-when-locked=true { spawn "qs" "-c" "noctalia-shell" "ipc" "call" "volume" "muteOutput"; } - XF86AudioMicMute allow-when-locked=true { spawn "qs" "-c" "noctalia-shell" "ipc" "call" "volume" "muteInput"; } + XF86AudioRaiseVolume allow-when-locked=true { spawn "noctalia-shell" "ipc" "call" "volume" "increase"; } + XF86AudioLowerVolume allow-when-locked=true { spawn "noctalia-shell" "ipc" "call" "volume" "decrease"; } + XF86AudioMute allow-when-locked=true { spawn "noctalia-shell" "ipc" "call" "volume" "muteOutput"; } + XF86AudioMicMute allow-when-locked=true { spawn "noctalia-shell" "ipc" "call" "volume" "muteInput"; } - XF86MonBrightnessUp allow-when-locked=true { spawn "qs" "-c" "noctalia-shell" "ipc" "call" "brightness" "increase"; } - XF86MonBrightnessDown allow-when-locked=true { spawn "qs" "-c" "noctalia-shell" "ipc" "call" "brightness" "decrease"; } + XF86MonBrightnessUp allow-when-locked=true { spawn "noctalia-shell" "ipc" "call" "brightness" "increase"; } + XF86MonBrightnessDown allow-when-locked=true { spawn "noctalia-shell" "ipc" "call" "brightness" "decrease"; } // Keys consist of modifiers separated by + signs, followed by an XKB key name // in the end. To find an XKB name for a particular key, you may use a program