add:satty capabilities

This commit is contained in:
kokopi-dev
2025-10-28 17:27:58 +09:00
parent f8861dc23f
commit 5e8503b456
3 changed files with 10 additions and 2 deletions

View File

@@ -272,8 +272,13 @@ device {
$mainMod = SUPER # Sets "Windows" key as main modifier
# Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more
bind = , Print, exec, grim -g "$(slurp)" - | wl-copy && notify-send "📸 Screenshot" "Region copied to clipboard"
bind = $mainMod, Print, exec, bash -c 'file=~/pictures/$(date +"%Y-%m-%d_%H-%M-%S").png; if grim -g "$(slurp)" "$file"; then notify-send "📸 Screenshot" "Saved: $file"; else notify-send "❌ Screenshot Failed" "Could not save screenshot"; fi'
# Quick screenshots (no annotation)
# bind = , Print, exec, grim -g "$(slurp)" - | wl-copy && notify-send "📸 Screenshot" "Region copied to clipboard"
# bind = $mainMod, Print, exec, bash -c 'file=~/pictures/$(date +"%Y-%m-%d_%H-%M-%S").png; if grim -g "$(slurp)" "$file"; then notify-send "📸 Screenshot" "Saved: $file"; else notify-send "❌ Screenshot Failed" "Could not save screenshot"; fi'
# Annotated screenshots (with Satty)
bind = $mainMod ALT, P, exec, grim -g "$(slurp)" - | satty --filename - --output-filename ~/pictures/$(date +"%Y-%m-%d_%H-%M-%S").png --early-exit --copy-command wl-copy
bind = $mainMod, Return, exec, $terminal
# bind = $mainMod, M, exit,
bind = $mainMod, E, exec, $fileManager

View File

@@ -24,6 +24,8 @@ main config: ~/.config/hypr/hyprland.conf
* sudo pacman -S obs-studio
* sudo pacman -S mpv (lightweight video player/image viewer)
* sudo pacman -S slurp grim satty
- printscreen/screenshot capabilities
---
## Non config settings

View File

@@ -1,3 +1,4 @@
Super + ALT + p → Copy/Save Screenshot
Super + Return → Terminal
Super + e → File Manager
Super + Shft + q → Quit Window