A calm lock screen for Omarchy: your windows blur into the wallpaper on lock, and back on unlock.
  • QML 46.1%
  • JavaScript 29.7%
  • Shell 14.5%
  • TypeScript 9.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Marc-Etienne Barrut 859604f142 [master] chore(release): 0.2.0
Settings move to Veil's own ~/.config/veil/config.toml, the branding can be turned off, and unset formats and name follow the bar clock and the account's full name.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-09 10:53:52 +07:00
.claude/skills [feature/m2-releases] docs: releases, the curl installer and the release skill 2026-11-05 15:46:38 +01:00
.github/workflows [feature/m2-releases] ci: publish a GitHub release from a version tag 2026-11-05 15:46:00 +01:00
brain [feature/branding-switch] docs: the review fixes - re-read at lock, the bar's date rule, table handling, the 0.1.0 warning 2026-11-09 10:38:23 +07:00
omarchy/arzaroth.veil [master] chore(release): 0.2.0 2026-11-09 10:53:52 +07:00
scripts [feature/m2-releases] feat(install): install a verified GitHub release when run without a checkout 2026-11-05 15:45:37 +01:00
src [feature/branding-switch] feat(settings): warn when shell.json still carries 0.1.0 settings 2026-11-09 10:36:40 +07:00
tests [feature/branding-switch] test(branding): send branding = false through the settings, not the view property 2026-11-09 10:37:06 +07:00
.gitignore [feature/m2-releases] feat: package the plugin and installer as a release archive 2026-11-05 15:44:15 +01:00
.mise.toml [master] test: unit tests for both models, the snapshot helper and a LockView harness 2026-11-05 15:00:55 +01:00
CHANGELOG.md [master] chore(release): 0.2.0 2026-11-09 10:53:52 +07:00
CLAUDE.md [feature/branding-switch] docs: the review fixes - re-read at lock, the bar's date rule, table handling, the 0.1.0 warning 2026-11-09 10:38:23 +07:00
icon.svg [chore/project-icons] chore: add the project icon 2026-11-07 00:29:18 +01:00
LICENSE [master] chore: licence, Omarchy notice and the Node test skeleton 2026-11-05 14:57:52 +01:00
package.json [master] chore(release): 0.2.0 2026-11-09 10:53:52 +07:00
pnpm-lock.yaml [feature/typescript] chore: TypeScript toolchain 2026-11-05 15:36:37 +01:00
README.md [feature/branding-switch] docs: the review fixes - re-read at lock, the bar's date rule, table handling, the 0.1.0 warning 2026-11-09 10:38:23 +07:00
ROADMAP.md [master] docs(release): order the 0.2.0 changelog, settings move first 2026-11-09 10:53:19 +07:00
TODO.md [feature/branding-switch] docs: the review fixes - re-read at lock, the bar's date rule, table handling, the 0.1.0 warning 2026-11-09 10:38:23 +07:00
tsconfig.json [feature/m1-settings] fix(build): compile for ES2018, the syntax QML's engine accepts 2026-11-05 15:40:14 +01:00
vitest.config.mjs [feature/typescript] refactor: port Model to TypeScript, compiled to Model.mjs 2026-11-05 15:37:22 +01:00

Veil

License: MIT

A calm lock screen for Omarchy. Your windows blur into the wallpaper as the screen locks, a clock, your name, your battery and your branding art wait on the other side, and unlocking plays the same fade in reverse. Password and fingerprint checks are Omarchy's own, unchanged.

Status: usable, daily-driven on Omarchy 4.5.

What it does

  • Lock: each monitor is captured just before the lock, so the lock opens on your windows, which blur and dissolve into the blurred wallpaper while the clock and the rest fade in.
  • Locked: a large clock and the date, your name above the password field, a quiet line with the battery and how long the screen has been locked, and the braille art from ~/.config/omarchy/branding/about.txt (the one fastfetch shows) at the bottom, in your theme's colours.
  • Wrong password: a short shake of the field.
  • Unlock: the blur clears back to your windows before the live desktop takes over.
  • Faster to lock: 150 ms between the request and the lock instead of 500 ms, unless monitors are being plugged or unplugged.
  • Stays lit longer: 30 s before the screens blank, instead of 5 s.

Install

Needs Omarchy 4.5 or newer.

curl -fsSL https://raw.githubusercontent.com/Arzaroth/Veil/master/scripts/install.sh | bash

That downloads the latest release, checks it against the release's SHA256SUMS, copies the plugin into ~/.config/omarchy/plugins/, enables it, disables Omarchy's omarchy.lock, and restarts the shell (lock services only load on a restart). Run it again to update. Options go after bash -s --: --version X.Y.Z for a given release, --no-restart.

From a checkout, scripts/install.sh installs that checkout instead (--release to install the latest release from it).

omarchy-shell lock preview      # the lock screen without locking (click to close)
scripts/install.sh --uninstall  # remove Veil and give the lock back to omarchy.lock

If the lock ever misbehaves, switch to a TTY (Ctrl+Alt+F2) and run curl -fsSL https://raw.githubusercontent.com/Arzaroth/Veil/master/scripts/install.sh | bash -s -- --uninstall.

Configuration

Settings live in ~/.config/veil/config.toml ($XDG_CONFIG_HOME/veil/ when set). Create it when you want to change something; changes apply as soon as the file is saved, even on an open lock screen.

display_name = "Arzaroth"
time_format = "HH:mm"
date_format = "dddd d MMMM"
branding = true
branding_path = "~/.config/omarchy/branding/about.txt"
blank_after = 30
Key Default
display_name your full name from /etc/passwd, else your login capitalized the name above the field
time_format the bar clock's time, else HH:mm Qt date format
date_format the bar clock's date, else dddd d MMMM Qt date format, in your locale; ww is the ISO week
branding true false hides the art and the Omarchy wordmark
branding_path ~/.config/omarchy/branding/about.txt text art at the bottom; point it at your own file to replace Omarchy's. Missing or empty shows the Omarchy wordmark
blank_after 30 seconds without input before the screens blank, 5 to 3600

Without time_format and date_format, the lock follows the bar clock's format (the one right-click cycles through): ddd d MMM h:mm AP gives a h:mm AP clock over ddd d MMM. Seconds are left out. The date is taken only when the bar shows a day and a month, so the stock dddd HH:mm keeps Veil's dddd d MMMM.

Every key is optional. A value of the wrong type, a key Veil does not know or a line it cannot read is ignored with a warning in journalctl --user (veil: ...). Veil reads flat key = value lines only: no tables, arrays or multi-line strings. A file created while the shell runs applies from the next lock.

Coming from 0.1.0: settings on Veil's entry in ~/.config/omarchy/shell.json are no longer read, and the journal says which ones to move.

How it works

Veil is Omarchy's omarchy.lock service with its view replaced. The session lock, both PAM flows and the fingerprint retry logic are upstream's. Veil adds a capture of each monitor during the pre-lock wait, a view that fades from it once Hyprland shows the lock, and a 450 ms hold after a successful unlock so the reverse fade can play. Details in brain/BRAIN.md.

Development

mise install && pnpm install
pnpm typecheck && pnpm test  # src/Model.mts and FingerprintModel.js
pnpm build                   # compile src/Model.mts to the plugin's Model.mjs (commit it)
scripts/coverage.sh --check  # 98% line floor
tests/qml/run.sh             # LockView in a QML runtime, shell modules stubbed
tests/snapshot/run.sh        # the capture helper against a fake grim
tests/install/run.sh         # the install script against fake omarchy tools and a local release
tests/package/run.sh         # the release archive

See CLAUDE.md for the rules a change must keep.

Licence

MIT. Veil carries code from Omarchy's lock screen under Omarchy's MIT licence; see omarchy/arzaroth.veil/NOTICE.