swayidle: sleep 2s after swaylock before-sleep
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run

This commit is contained in:
Aly Raffauf 2024-08-05 14:26:10 -04:00
parent 5c7a4f9294
commit 8138d5e104

View file

@ -19,7 +19,7 @@ in {
} }
{ {
event = "before-sleep"; event = "before-sleep";
command = "${lib.getExe pkgs.swaylock}"; command = "${lib.getExe pkgs.swaylock} && ${lib.getExe' pkgs.coreutils "sleep"} 2";
} }
{ {
event = "lock"; event = "lock";