diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-22 16:24:13 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-22 16:24:13 -0500 |
| commit | 104e640bbb60a49dc363ee1731478cd81deb1cc4 (patch) | |
| tree | ad575d36e351e17d712533621dcc9456841f3068 /scripts/audit.sh | |
| parent | 84c90768f47196d45cb2198c6d24905fca08140d (diff) | |
| download | rulesets-104e640bbb60a49dc363ee1731478cd81deb1cc4.tar.gz rulesets-104e640bbb60a49dc363ee1731478cd81deb1cc4.zip | |
feat(scripts): add screenshot.py for visual verification on Wayland
Adds a grim + hyprctl wrapper so a session can capture the screen or a single window and read the resulting PNG, turning "does this look right?" into an inspectable artifact. Modes: --full (all outputs), --active (focused window), --window REGEX (matched against class or title), and --list to enumerate open windows. Output goes to a chosen path (default a timestamped file in /tmp) and the saved path is printed on stdout so the caller can read it back; the parent directory is created if it does not exist. Syncs into every project's .ai/scripts/ via the startup rsync.
Diffstat (limited to 'scripts/audit.sh')
0 files changed, 0 insertions, 0 deletions
