From 071b1c70b709a518a02661a8dacb9713aa75a775 Mon Sep 17 00:00:00 2001 From: Aditya Date: Tue, 11 Mar 2025 10:52:15 +0530 Subject: [PATCH] add hyprshot keybinds --- .../nixos/hyprland/config/hypr/hyprland/keybinds.conf | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/modules/nixos/hyprland/config/hypr/hyprland/keybinds.conf b/modules/nixos/hyprland/config/hypr/hyprland/keybinds.conf index 0095244..32f1f6f 100644 --- a/modules/nixos/hyprland/config/hypr/hyprland/keybinds.conf +++ b/modules/nixos/hyprland/config/hypr/hyprland/keybinds.conf @@ -77,8 +77,8 @@ bind = $MainMod Shift, 9, movetoworkspace, 9 bind = $MainMod Shift, 10, movetoworkspace, 10 # Example special workspace -bind = $MainMod, S, togglespecialworkspace, magic -bind = $MainMod Shift, S, movetoworkspace, special:magic +#bind = $MainMod, S, togglespecialworkspace, magic +#bind = $MainMod Shift, S, movetoworkspace, special:magic # Scroll through existing workspaces bind = $MainMod, mouse_down, workspace, e+1 @@ -92,4 +92,8 @@ bindm = $MainMod, mouse:273, resizeWindow # RMB bind = $MainMod, L, exec, hyprlock bind = $MainMod+Shift, L, exec, hyprlock && systemctl suspend - +# Screenshot +$output_folder = "/home/user/Pictures/Screenshots" +bind = $MainMod Shift, S, exec, hyprshot -m region -o $output_folder +bind = $MainMod, Print, exec, hyprshot -m output -o $output_folder +bind = Alt Shift, S, exec, hyprshot -m window -o $output_folder