mirror of
https://github.com/hyprwm/hyprlock.git
synced 2024-11-16 23:05:58 +01:00
core: use --immediate for attemptRestoreOnDeath (#270)
This commit is contained in:
parent
1bfe32e7fa
commit
d9f6441254
1 changed files with 1 additions and 1 deletions
|
@ -1049,5 +1049,5 @@ void CHyprlock::attemptRestoreOnDeath() {
|
||||||
ofs.close();
|
ofs.close();
|
||||||
|
|
||||||
spawnSync("hyprctl keyword misc:allow_session_lock_restore true");
|
spawnSync("hyprctl keyword misc:allow_session_lock_restore true");
|
||||||
spawnAsync("sleep 2 && hyprlock & disown");
|
spawnAsync("sleep 2 && hyprlock --immediate & disown");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue