mirror of https://github.com/hyprwm/hyprlock.git
core: use --immediate for attemptRestoreOnDeath (#270)
This commit is contained in:
parent
1bfe32e7fa
commit
d9f6441254
|
@ -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 New Issue