Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ add_library(omasnap-core STATIC
src/pin-layout.hpp
src/capture.cpp
src/capture.hpp
src/capture-delay.cpp
src/capture-delay.hpp
src/cut.cpp
src/cut.hpp
src/palette-config.cpp
Expand Down Expand Up @@ -99,6 +101,8 @@ target_link_libraries(omasnap PRIVATE omasnap-core)
if(BUILD_TESTING)
qt_add_executable(omasnap-smoke
tests/editor-smoke.cpp
tests/capture-delay-smoke.cpp
tests/capture-delay-smoke.hpp
tests/clipboard-smoke.cpp
tests/clipboard-smoke.hpp
tests/instance-lock-smoke.cpp
Expand Down
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ resizable vector layers and preserves the monitor's native pixels on scaled disp
## Features

- Freeform region, window, and full-monitor capture modes.
- Delayed capture with a countdown in any screen corner; longer delays use a
compact timer until the final five seconds.
- A pointer-side readout that turns any drag into a ruler: the pointer position
while the crosshair is idle, then the frame size in native export pixels while a
region, a hovered window, or a crop handle is being sized.
Expand Down Expand Up @@ -185,6 +187,22 @@ omasnap smart # maps to region selection
These options choose what is initially selected; the editor still controls whether the
result is copied, saved, or both.

Use `--delay SECONDS` to wait before capturing. The countdown appears in the top-right
corner by default; `--delay-position` accepts `top-left`, `top-right`, `bottom-left`,
or `bottom-right`:

```bash
omasnap --delay 5
omasnap --capture-window --delay 3 --delay-position bottom-left
omasnap --capture-fullscreen --copy --delay 10
```

The delay must be a whole number from 0 through 3600 and applies only to screen
captures, not `--file`, `--clipboard`, or `--pin`. The countdown stays on the monitor
that was focused when Omasnap started, which is also the monitor captured. Starting
Omasnap again during the countdown cancels it through the normal single-instance
behavior.

Quick output skips the annotation editor. Add `--copy` to copy only, `--save` to save
only, or both flags to copy and save. Region and window captures output after selection;
fullscreen captures output immediately. Quick output cannot be combined with `--file`,
Expand Down
Loading