A read-only mirror of https://github.com/hyprwm/hyprlock
Find a file
2024-02-18 23:11:08 +00:00
src core: remove debug unlock 2024-02-18 23:08:48 +00:00
.clang-format core: initial commit 2024-02-18 23:08:03 +00:00
.gitignore core: initial commit 2024-02-18 23:08:03 +00:00
CMakeLists.txt core: initial commit 2024-02-18 23:08:03 +00:00
LICENSE Initial commit 2024-02-18 16:10:12 +00:00
README.md readme: add config path 2024-02-18 23:11:08 +00:00

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

Widget list:

  • background: png image
  • input-field: password input field
  • more to come :)

How it looks

Example config

~/.config/hypr/hyprlock.conf:

general {
    disable_loading_bar = false
}

background {
    monitor = DP-2
    path = /home/me/someImage.png
}

background {
    monitor = WL-2
    path = /home/me/someImage2.png
}

input-field {
    monitor =
    size = 200, 50
    outline_thickness = 3
    outer_color = rgb(151515)
    inner_color = rgb(200, 200, 200)
}

Docs

soon™️

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