diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-26 01:14:37 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-26 01:14:37 -0600 |
| commit | ae70a301c98b704593ca36991732e283094bd679 (patch) | |
| tree | 0705cd42b1ac04984dd70d02015daf51e9755782 /dotfiles/hyprland/.config/hypr | |
| parent | bd85c457553f68534fce04fd682f3d57b8917f47 (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.
Diffstat (limited to 'dotfiles/hyprland/.config/hypr')
| -rw-r--r-- | dotfiles/hyprland/.config/hypr/hyprland.conf | 11 |
1 files changed, 4 insertions, 7 deletions
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 |
