hyprlock icon indicating copy to clipboard operation
hyprlock copied to clipboard

Add daemonize option like i3lock and swaylock.

Open fvanrenterghem opened this issue 5 months ago • 3 comments

Description

i3lock by default daemonizes after locking, and swaylock has the option to detach from the controlling terminal after locking using the -f option. Adding a command-line option would make a switch from swaylock more seamless without impacting current use.

fvanrenterghem avatar Jul 27 '25 13:07 fvanrenterghem

Why not hyprlock &?

fufexan avatar Jul 27 '25 13:07 fufexan

It avoids having to do (hyprlock &) && systemctl suspend (or other chained actions). Which works - it's a nice-to-have feature.

fvanrenterghem avatar Jul 27 '25 14:07 fvanrenterghem

IIRC, in swaylock forking happens after the lock is successful? That would provide an agnostic way of sequencing other actions after locking. In case of hyprlock fork could happen after the locking animation is finished.

Vladimir-csp avatar Sep 14 '25 12:09 Vladimir-csp