From 5e8503b45665536d1f2c6009958e6b19614a3727 Mon Sep 17 00:00:00 2001 From: kokopi-dev Date: Tue, 28 Oct 2025 17:27:58 +0900 Subject: [PATCH] add:satty capabilities --- hyprland/hypr/hyprland.conf | 9 +++++++-- hyprland/hyprland_setup_manual | 2 ++ hyprland/rofi/help-manager/system-keybinds.txt | 1 + 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/hyprland/hypr/hyprland.conf b/hyprland/hypr/hyprland.conf index 31c71ee..0823d63 100644 --- a/hyprland/hypr/hyprland.conf +++ b/hyprland/hypr/hyprland.conf @@ -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 diff --git a/hyprland/hyprland_setup_manual b/hyprland/hyprland_setup_manual index 77ca1da..7628e91 100644 --- a/hyprland/hyprland_setup_manual +++ b/hyprland/hyprland_setup_manual @@ -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 diff --git a/hyprland/rofi/help-manager/system-keybinds.txt b/hyprland/rofi/help-manager/system-keybinds.txt index fa468cc..fbbfc4e 100644 --- a/hyprland/rofi/help-manager/system-keybinds.txt +++ b/hyprland/rofi/help-manager/system-keybinds.txt @@ -1,3 +1,4 @@ +Super + ALT + p → Copy/Save Screenshot Super + Return → Terminal Super + e → File Manager Super + Shft + q → Quit Window