From ae70a301c98b704593ca36991732e283094bd679 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 26 Jan 2026 01:14:37 -0600 Subject: feat(hyprland): add satty screenshot annotation and hyprpicker Replace direct grim saves with satty annotation workflow for screenshots. Add hyprpicker color picker on mod+C (freed from duplicate qalculate binding). Add both packages to archsetup. --- dotfiles/hyprland/.config/hypr/hyprland.conf | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'dotfiles/hyprland/.config') diff --git a/dotfiles/hyprland/.config/hypr/hyprland.conf b/dotfiles/hyprland/.config/hypr/hyprland.conf index a63a535..1701cc0 100644 --- a/dotfiles/hyprland/.config/hypr/hyprland.conf +++ b/dotfiles/hyprland/.config/hypr/hyprland.conf @@ -278,7 +278,7 @@ windowrule = match:class ^(foot-network)$, center on # Calculator (not a scratchpad, just launches app) bind = $mod, X, exec, qalculate-gtk -bind = $mod, C, exec, qalculate-gtk +bind = $mod, C, exec, hyprpicker -a # Media/hardware keys bindel = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5% @@ -293,12 +293,9 @@ bind = CTRL ALT, SPACE, exec, amixer set Capture toggle && amixer get Capture | # Bluetooth (from DWM and sxhkdrc) bind = $mod SHIFT, B, exec, blueman-manager -# Screenshots (Wayland: grim + slurp instead of maim) -bind = $mod, S, exec, grim -g "$(slurp)" ~/pictures/screenshots/$(date +%Y.%m.%d-%H%M%S).png && notify-send "Screenshot" "Saved to ~/pictures/screenshots/" -bind = , Print, exec, grim ~/pictures/screenshots/$(date +%Y.%m.%d-%H%M%S).png && notify-send "Screenshot" "Full screen saved" - -# Color picker (Wayland: hyprpicker instead of xcolor) -# bind = $mod, C, exec, hyprpicker -a # conflicts with calculator, uncomment if needed +# Screenshots (grim + slurp + satty for annotation) +bind = $mod, S, exec, grim -g "$(slurp)" - | satty --filename - --output-filename ~/pictures/screenshots/$(date +%Y.%m.%d-%H%M%S).png +bind = , Print, exec, grim - | satty --filename - --output-filename ~/pictures/screenshots/$(date +%Y.%m.%d-%H%M%S).png # Lock screen (from sxhkdrc: super+Escape) bind = $mod, ESCAPE, exec, hyprlock -- cgit v1.2.3