From d9f644125468054d2a237adf4ae676f64c0da918 Mon Sep 17 00:00:00 2001 From: Maximilian Seidler <78690852+PaideiaDilemma@users.noreply.github.com> Date: Wed, 10 Apr 2024 12:28:24 +0200 Subject: [PATCH] core: use --immediate for attemptRestoreOnDeath (#270) --- src/core/hyprlock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hyprlock.cpp b/src/core/hyprlock.cpp index 4dccce1..47d7f4d 100644 --- a/src/core/hyprlock.cpp +++ b/src/core/hyprlock.cpp @@ -1049,5 +1049,5 @@ void CHyprlock::attemptRestoreOnDeath() { ofs.close(); spawnSync("hyprctl keyword misc:allow_session_lock_restore true"); - spawnAsync("sleep 2 && hyprlock & disown"); + spawnAsync("sleep 2 && hyprlock --immediate & disown"); }