/hyprlock

Hyprland's GPU-accelerated screen locking utility

Primary LanguageC++BSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

hyprlock

Hyprland's simple, yet multi-threaded and GPU-accelerated screen locking utility.

Features

  • uses the secure ext-session-lock protocol
  • full support for fractional-scale
  • fully GPU accelerated
  • multi-threaded resource acquisition for no hitches

How it looks

Docs / Configuration

See the wiki

Building

Deps

  • wayland-client
  • wayland-protocols
  • cairo
  • gles3.2
  • pango
  • hyprlang>=0.4.0
  • xkbcommon
  • pam

Building

Building:

cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -S . -B ./build
cmake --build ./build --config Release --target hyprlock -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`

Installation:

sudo cmake --install build