From ccb463448cbe3a236ecc8ddaba2f89d7b5f2e41b Mon Sep 17 00:00:00 2001 From: Nikolai Papin Date: Fri, 6 Jun 2025 12:03:20 +0300 Subject: [PATCH] feat: added sound to screenshots --- hypr/hyprland.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 0a275f2..cc63e89 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -329,8 +329,8 @@ bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, D, togglesplit, # dwindle # bind = $mainMod SHIFT, Print, exec, IMG=~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).png grim -g "$(slurp -d)" - | swappy -f - # bind = $mainMod, Print, exec, IMG=~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).png && grim -g "$(slurp)" $IMG && wl-copy < $IMG -bind = $mainMod SHIFT, Print, exec, grimblast --freeze copysave area ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).png && play ~/Templates/Sounds/photo.mp3 -bind = $mainMod, Print, exec, play ~/Templates/Sounds/photo.mp3 & grimblast --freeze copysave output ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).png +bind = $mainMod SHIFT, Print, exec, grimblast --freeze copysave area ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg && play ~/Templates/Sounds/photo.mp3 +bind = $mainMod, Print, exec, play ~/Templates/Sounds/photo.mp3 & grimblast --freeze copysave output ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg # Move focus with mainMod + arrow keys bind = $mainMod, h, movefocus, l