mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 04:09:23 +00:00
Add satty to the default screenshot flow
This commit is contained in:
9
bin/omarchy-screenshot
Executable file
9
bin/omarchy-screenshot
Executable 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'
|
@ -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
|
||||||
|
@ -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
2
migrations/1752955912.sh
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
echo "Install satty for the new screenshot flow"
|
||||||
|
yay -S --noconfirm --needed satty
|
Reference in New Issue
Block a user