fix: hypridle locking multiple times
This commit is contained in:
parent
9651f73928
commit
c639d58b0f
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
lib.mkIf config.services.swayidle.enable {
|
||||
services.swayidle =
|
||||
let
|
||||
locker = "${pkgs.hyprlock}/bin/hyprlock";
|
||||
locker = "pidof hyprlock || ${pkgs.hyprlock}/bin/hyprlock";
|
||||
in
|
||||
{
|
||||
events = [
|
||||
|
|
Loading…
Add table
Reference in a new issue