13 Commits

Author SHA1 Message Date
Asger Geel Weirsøe
5817074f1a release: v0.9.0 pre-release — X11 PAM integration, shadow suppression, macOS cfg guards
Some checks failed
Test / test (push) Failing after 4m25s
Release / release (push) Failing after 6m37s
- PAM module now correctly fires on failed attempts (must precede auth includes)
- ahfail-display: sprite-sized window replaces full-screen overlay
- ahfail-display: XGrabKeyboard unlock detection replaces process scanning
- ahfail-display: _COMPTON_SHADOW=0 suppresses picom shadow without config changes
- ahfail-display: flock single-instance guard prevents stacking on rapid failures
- X11-specific code guarded behind #[cfg(target_os = "linux")] for macOS builds
- Removed debug logging (dlog/plog) from display and PAM binaries
- README: PAM ordering requirement, supported locker table, roadmap section

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 22:01:02 +02:00
Asger Geel Weirsøe
8ecc1501a1 feat: add uninstall scripts for X11 and macOS
All checks were successful
Test / test (push) Successful in 6m3s
scripts/uninstall-linux-x11.sh — strips ahfail from common PAM service
files and removes binaries (via ninja uninstall or known paths).

scripts/uninstall-macos.sh — strips ahfail from screensaverui/screensaver
and removes /usr/local/lib/ahfail/.

README: add Uninstall section covering all four cases (X11, Wayland,
Homebrew macOS, manual macOS).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-06 16:08:59 +02:00
Asger Geel Weirsøe
a6de85650d docs: make X11 PAM config instructions unambiguous
All checks were successful
Test / test (push) Successful in 6m1s
Replace bare config snippets with actual tee -a commands so there is no
way to mistake a file entry for a shell command to run directly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-06 16:02:37 +02:00
Asger Geel Weirsøe
6a931cf4f0 docs: add --prefix=/usr to Arch build instructions
All checks were successful
Test / test (push) Successful in 6m2s
Without it meson defaults to /usr/local, so the installed paths don't
match the README and DEFAULT_PATH compiled into the PAM module is wrong.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-06 15:49:06 +02:00
Asger Geel Weirsøe
dc8c73a0dd updates readme.md
All checks were successful
Test / test (push) Successful in 6m3s
2026-05-06 15:39:35 +02:00
Asger Geel Weirsøe
2e40a0a23a updates readme.md
Some checks failed
Test / test (push) Has been cancelled
2026-05-06 15:37:53 +02:00
Asger Geel Weirsøe
3fae21c7a4 docs: add binary install section for Linux, Homebrew section for macOS
All checks were successful
Test / test (push) Successful in 6m8s
Linux x86_64 binary install covers both Wayland and X11 from the same
tarball — clarified with a table showing which file is used by which.

macOS section now leads with Homebrew (brew tap + brew install) as the
recommended path, with script and manual install as fallbacks.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-06 15:31:29 +02:00
Asger Geel Weirsøe
f951cb9c6d docs: rewrite readme; add macOS install script
All checks were successful
Test / test (push) Successful in 6m2s
- Clarify that the sprite is the author's face on Nedry's body
- Explicit Wayland (gtklock module) vs X11/macOS (PAM module) comparison table
  with an explanation of how each integration works
- Accurate per-distro PAM paths (standard/Fedora multilib/Debian multiarch)
- scripts/install-macos.sh: one-shot installer for macOS — checks Homebrew,
  installs brew deps, builds from source, copies binaries, and patches
  /etc/pam.d/screensaverui (or screensaver) after the last auth line

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-06 15:16:26 +02:00
Asger Geel Weirsøe
1f98f89fab Merge remote-tracking branch 'origin/master' 2026-05-06 12:40:52 +02:00
Asger Geel Weirsøe
c3bdb09bd3 fix: xvfb for headless CI, curl -f + set -euo pipefail in release, fix PAM paths in README 2026-05-06 12:13:47 +02:00
Asger Geel Weirsøe
2ddef2ac81 docs: add macOS build-from-source and PAM configuration instructions 2026-05-06 12:11:06 +02:00
a40e6470bb Removes incorrect stuff 2025-12-01 08:53:19 +01:00
Asger Geel Weirsøe
8c08e33ba0 initial commit 2025-11-30 20:52:00 +01:00