Skip to content

Commit

Permalink
core: use --immediate for attemptRestoreOnDeath (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
PaideiaDilemma committed Apr 10, 2024
1 parent 1bfe32e commit d9f6441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/hyprlock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

0 comments on commit d9f6441

Please sign in to comment.