From dbd86cce8161941c2cab5ff526bc7744ae669f74 Mon Sep 17 00:00:00 2001 From: Mahesh Asolkar Date: Sun, 1 Mar 2026 11:22:31 -0800 Subject: [PATCH] Screenshot changes to hyprland config and scripts --- dwl_act | 4 ++-- hypr/hyprland.conf | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dwl_act b/dwl_act index baf903f..d89b7f8 100755 --- a/dwl_act +++ b/dwl_act @@ -28,7 +28,7 @@ case $act in # search) ;; launch) wldash;; # explore) ;; - print) grim -c -g "$(slurp -o -r -c '#ff0000ff')" -t ppm - | satty --filename - --fullscreen --output-filename ~/Screenshots/satty-$(date '+%Y%m%d-%H:%M:%S').png ;; + print) grim -c -g "$(slurp -d -c '#aaaaaa44')" -t ppm - | satty --filename - --fullscreen --output-filename ~/Screenshots/satty-$(date '+%Y%m%d-%H:%M:%S').png ;; # Select area # With CTRL modifier # C_vol_mute) ;; @@ -47,7 +47,7 @@ case $act in # C_search) ;; # C_launch) ;; # C_explore) ;; - C_print) grim -c -g "$(slurp -d -c '#0000ffff')" -t ppm - | satty --filename - --fullscreen --output-filename ~/Screenshots/satty-$(date '+%Y%m%d-%H:%M:%S').png ;; + C_print) grim -c -g "$(slurp -o -r -c '#0000ffff')" -t ppm - | satty --filename - --fullscreen --output-filename ~/Screenshots/satty-$(date '+%Y%m%d-%H:%M:%S').png ;; # Fullscreen # With SHIFT modifier # S_vol_mute) ;; diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 850c975..3ee1ca6 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -352,6 +352,8 @@ bindel = $supMod, A, exec, dwl_act vol_mute bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle bindel = ,XF86MonBrightnessUp, exec, dwl_act bright_high bindel = ,XF86MonBrightnessDown, exec, dwl_act bright_low +bind = ,Print, exec, dwl_act print +bind = Control_L ,Print, exec, dwl_act C_print # Requires playerctl bindl = , XF86AudioPrev, exec, dwl_act media_prev