Proof Portal

Project overview

Omarchy

ProbeLabs65 findings · 95 requirements

A proof layer — requirements, tests and verified fixes — for two of Omarchy's subsystems: the application menu (launcher scripts, QML model, JSONC config, search and selection) and the lock screen (lock scripts, QML, PAM authentication). Scope is deliberately limited to those components of omacom/omarchy; the rest of the distribution is not covered.

Inbox
ReportR-2870GitHub issuePublicReceived

Screenshoot tool does not work (sometimes)

Reported by alexandru-calinoiu · filed Sep 13, 2025Closed upstream on 2025-09-14 by dhh, as a duplicate of #1607 (R-2846). GitHub close reason: duplicate.

Received and recorded verbatim. Nothing has been checked yet.

At a glance

1 · What is claimed?
Only the report text below — no validator has restated it as checkable claims yet.
2 · What does it affect?
Not yet mapped to any requirement or component.
3 · Is it reproducible?
No validation has been run yet.
4 · What remains unclear?
  • Not validated yet: no claims, no reproducer.
5 · What happens next?
Our staff decide whether the report is valid. Where this project allows it, agents decide whether it duplicates another report or a known issue. No decision has been recorded yet.

Original report

Screenshoot tool does not work (sometimes)revision 1 · captured 2026-10-04 11:35 UTC via poll

System details

Laptop 13 (AMD Ryzen AI 300 Series) (A9)

What's wrong?

On my system sometimes the screenshoot tool will show up but after taking a screenshoot nothing happened.

Running omarchy-cmd-screenshoot throws the following error:

Fatal error reading PNG image file: IDAT: CRC error (twice)

After some investigation I've found this issue with hypershot https://github.com/Gustash/Hyprshot/issues/106, apparently there is a problem raw is to slow.

I've updated the script command to use a tmp file:

#!/bin/bash

[[ -f ~/.config/user-dirs.dirs ]] && source ~/.config/user-dirs.dirs
OUTPUT_DIR="${OMARCHY_SCREENSHOT_DIR:-${XDG_PICTURES_DIR:-$HOME/Pictures}}"

if [[ ! -d "$OUTPUT_DIR" ]]; then
  notify-send "Screenshot directory does not exist: $OUTPUT_DIR" -u critical -t 3000
  exit 1
fi

pkill slurp

# Use temp file with proper wait for hyprshot to finish
TEMP_FILE="/tmp/omarchy-screenshot-$(date +'%Y-%m-%d_%H-%M-%S').png"
hyprshot -m ${1:-region} --freeze --silent -o /tmp -f "$(basename "$TEMP_FILE")"

# Wait for hyprshot to finish writing the file
while [[ ! -f "$TEMP_FILE" ]] || [[ $(stat -c%s "$TEMP_FILE" 2>/dev/null || echo 0) -eq 0 ]]; do
  sleep 0.1
done

# Additional small delay to ensure file is completely written
sleep 0.2

cat "$TEMP_FILE" | satty --filename - \
  --output-filename "$OUTPUT_DIR/screenshot-$(date +'%Y-%m-%d_%H-%M-%S').png" \
  --early-exit \
  --actions-on-enter save-to-clipboard \
  --save-after-copy \
  --copy-command 'wl-copy' &&
  rm "$TEMP_FILE"

Is someone else experiencing this issue? Shall I open a pr with this fix?

View raw text
### System details

Laptop 13 (AMD Ryzen AI 300 Series) (A9)

### What's wrong?

On my system sometimes the screenshoot tool will show up but after taking a screenshoot nothing happened.

Running `omarchy-cmd-screenshoot` throws the following error:

```
Fatal error reading PNG image file: IDAT: CRC error (twice)
```

After some investigation I've found this issue with `hypershot` https://github.com/Gustash/Hyprshot/issues/106, apparently there is a problem `raw` is to slow.

I've updated the script command to use a tmp file:

```bash
#!/bin/bash

[[ -f ~/.config/user-dirs.dirs ]] && source ~/.config/user-dirs.dirs
OUTPUT_DIR="${OMARCHY_SCREENSHOT_DIR:-${XDG_PICTURES_DIR:-$HOME/Pictures}}"

if [[ ! -d "$OUTPUT_DIR" ]]; then
  notify-send "Screenshot directory does not exist: $OUTPUT_DIR" -u critical -t 3000
  exit 1
fi

pkill slurp

# Use temp file with proper wait for hyprshot to finish
TEMP_FILE="/tmp/omarchy-screenshot-$(date +'%Y-%m-%d_%H-%M-%S').png"
hyprshot -m ${1:-region} --freeze --silent -o /tmp -f "$(basename "$TEMP_FILE")"

# Wait for hyprshot to finish writing the file
while [[ ! -f "$TEMP_FILE" ]] || [[ $(stat -c%s "$TEMP_FILE" 2>/dev/null || echo 0) -eq 0 ]]; do
  sleep 0.1
done

# Additional small delay to ensure file is completely written
sleep 0.2

cat "$TEMP_FILE" | satty --filename - \
  --output-filename "$OUTPUT_DIR/screenshot-$(date +'%Y-%m-%d_%H-%M-%S').png" \
  --early-exit \
  --actions-on-enter save-to-clipboard \
  --save-after-copy \
  --copy-command 'wl-copy' &&
  rm "$TEMP_FILE"
```

Is someone else experiencing this issue? Shall I open a pr with this fix?

Validation

Not checked yet. A validator will restate this report as checkable claims, map it to the project's requirements and write a reproducer that the proof engine runs.

Linked

Not linked to any known issue, other report or change yet.

Decision

Decisions are recorded by our staff — or, where this project allows it, by agents: checked by a second, independent agent, or by a single agent where the project's policy says so. Any decision reached so far is shown below.

No decision has been recorded yet.