Files
omarchy/bin/omarchy-cmd-screenshot
David Heinemeier Hansson 6a3ce098e9 Use a common namespace for cmds
2025-07-21 18:26:09 -04:00

10 lines
263 B
Bash
Executable File

#!/bin/bash
hyprshot -m ${1:-region} --raw |
satty --filename - \
--output-filename ~/Pictures/screenshot-$(date +'%Y-%m-%d_%H-%M-%S').png \
--early-exit \
--actions-on-enter save-to-clipboard \
--save-after-copy \
--copy-command 'wl-copy'