1
0
Fork
You've already forked wlock
0
forked from sewn/wlock
Itty-bitty simple screenlocker for wayland
  • C 86.6%
  • Makefile 13.4%
Find a file
2024年06月25日 20:12:05 +03:00
.gitignore initial commit 2024年05月04日 22:16:05 +03:00
LICENSE initial commit 2024年05月04日 22:16:05 +03:00
Makefile Makefile: improve 2024年06月25日 20:11:01 +03:00
README.md README: minor wording changes 2024年06月25日 19:58:23 +03:00
wlock.c remove unused var 2024年06月25日 20:12:05 +03:00

wlock

wlock is a itty-bitty simple screenlocker for Wayland compositors that support the ext-session-lock-v1 protocol.

Excerpt from the protocol specifying the behavior:

The client is responsible for performing authentication and informing the compositor when the session should be unlocked. If the client dies while the session is locked the session remains locked, possibly permanently depending on compositor policy.

Building

To build wlock first ensure that you have the following dependencies:

  • pkg-config
  • wayland
  • wayland-protocols
  • xkbcommon

After installing the dependencies, you may build and install wlock:

make
make install

Usage

Run wlock.

See the wlock usage (wlock -h) for more details.

Credits