Add satty to the default screenshot flow

This commit is contained in:
David Heinemeier Hansson
2025-07-19 16:49:39 -05:00
parent f569c4e365
commit 6b947ffb45
4 changed files with 15 additions and 4 deletions

9
bin/omarchy-screenshot Executable file
View File

@ -0,0 +1,9 @@
#!/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'

View File

@ -24,9 +24,9 @@ bind = CTRL, F2, exec, ~/.local/share/omarchy/bin/omarchy-apple-display-brightne
bind = SHIFT CTRL, F2, exec, ~/.local/share/omarchy/bin/omarchy-apple-display-brightness +60000 bind = SHIFT CTRL, F2, exec, ~/.local/share/omarchy/bin/omarchy-apple-display-brightness +60000
# Screenshots # Screenshots
bind = , PRINT, exec, hyprshot -m region bind = , PRINT, exec, omarchy-screenshot
bind = SHIFT, PRINT, exec, hyprshot -m window bind = SHIFT, PRINT, exec, omarchy-screenshot window
bind = CTRL, PRINT, exec, hyprshot -m output bind = CTRL, PRINT, exec, omarchy-screenshot output
# Screenshots # Screenshots
bind = ALT, PRINT, exec, omarchy-screenrecord bind = ALT, PRINT, exec, omarchy-screenrecord

View File

@ -4,6 +4,6 @@ yay -S --noconfirm --needed \
brightnessctl playerctl pamixer wiremix wireplumber \ brightnessctl playerctl pamixer wiremix wireplumber \
fcitx5 fcitx5-gtk fcitx5-qt wl-clip-persist \ fcitx5 fcitx5-gtk fcitx5-qt wl-clip-persist \
nautilus sushi ffmpegthumbnailer \ nautilus sushi ffmpegthumbnailer \
slurp wl-screenrec \ slurp wl-screenrec satty \
mpv evince imv \ mpv evince imv \
chromium chromium

2
migrations/1752955912.sh Normal file
View File

@ -0,0 +1,2 @@
echo "Install satty for the new screenshot flow"
yay -S --noconfirm --needed satty