-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
My original idea was sending SIGUSR1, but ifreund suggested this, also present in swaylock. The advantage of this approach is that it's simpler and works well with at least two service managers (s6-rc, dinit). Figuring out how to use this in a shell script took me longer than i'd like to admit. This is what i ended up with: ( waylock-wrapper -ready-fd 3 3>&1 1>&2 & ) | read && suspend
- Loading branch information
tiosgz
committed
Feb 18, 2024
1 parent
66b74c3
commit d859e5b
Showing
3 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters