summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-26 01:14:37 -0600
committerCraig Jennings <c@cjennings.net>2026-01-26 01:14:37 -0600
commitae70a301c98b704593ca36991732e283094bd679 (patch)
tree0705cd42b1ac04984dd70d02015daf51e9755782
parentbd85c457553f68534fce04fd682f3d57b8917f47 (diff)
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.
-rwxr-xr-xarchsetup2
-rw-r--r--dotfiles/hyprland/.config/hypr/hyprland.conf11
2 files changed, 6 insertions, 7 deletions
diff --git a/archsetup b/archsetup
index b07f369..97d6e92 100755
--- a/archsetup
+++ b/archsetup
@@ -1314,6 +1314,8 @@ hyprland() {
pacman_install swww # wallpaper
pacman_install grim # screenshot
pacman_install slurp # region select
+ pacman_install satty # screenshot annotation
+ pacman_install hyprpicker # color picker
pacman_install gammastep # night light (replaces redshift)
pacman_install brightnessctl # brightness control
pacman_install pamixer # audio control
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