# swaywm/swaylock

Screen locker for Wayland

Repository: https://github.com/swaywm/swaylock
Canonical: https://ross.abutalabs.com/products/swaylock
Language: C
License: MIT
License Family: permissive
Topics: wayland, wlroots, sway
Last push: 2026-07-09T15:59:31+00:00

## Health v2 (maintenance only)
Score: 85/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 91, release rhythm 68, longevity 100
- inputs: {"age_days": 2789, "days_push": 55, "days_rel": 55, "gap_med": 121, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1215, forks 275 (observed 2026-08-28T04:04:01.020319+00:00)

## What it is
swaylock is a screen locking utility for Wayland compositors, compatible with any compositor implementing the ext-session-lock-v1 protocol. It authenticates users via PAM or shadow passwords and supports customization such as background images.

## Use cases
- lock my screen on wayland
- screen locker for sway
- wayland session lock utility
- lock screen with pam authentication on linux
- custom lock screen background wayland

## When to choose
- you use a Wayland compositor (sway, wlroots-based) and need a reliable screen locker
- you want PAM integration and configurable lock screen appearance

## When to avoid
- you are on X11 and need an X11 screen locker
- you need a graphical settings UI rather than a CLI utility

## Facets
- artifact type: cli-tool
- maturity: active
- function: security, auth, cli
- domain: security, desktop-applications, operating-systems
- platform: cli
- tags: wayland, wlroots, screen-locker, pam, session-lock, linux

## Member repositories
- swaywm/swaylock (main) score 85

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:01.020319+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:17:18.398659+00:00, confidence not recorded.
  - readme: https://github.com/swaywm/swaylock (fetched 2026-08-28T04:04:01.020319+00:00, sha 18aae75a3840)
- Data as of 2026-08-30T08:39:29.467469+00:00.
