From 516eca23001ea5f8577683176deb5c44a5a3d1eb Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Fri, 20 Feb 2026 23:44:43 +0100 Subject: Add hyprshot for screenshot-ing windows/regions --- roles/hyprland/tasks/main.yml | 1 + roles/hyprland/templates/bindings.conf.j2 | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/roles/hyprland/tasks/main.yml b/roles/hyprland/tasks/main.yml index 07f121c9..e8523571 100644 --- a/roles/hyprland/tasks/main.yml +++ b/roles/hyprland/tasks/main.yml @@ -10,6 +10,7 @@ - "hypridle" - "hyprpicker" - "hyprsunset" + - "hyprshot" - "hyprland" - "xdg-desktop-portal-gtk" - "xdg-desktop-portal-hyprland" diff --git a/roles/hyprland/templates/bindings.conf.j2 b/roles/hyprland/templates/bindings.conf.j2 index a7739be4..3028919c 100644 --- a/roles/hyprland/templates/bindings.conf.j2 +++ b/roles/hyprland/templates/bindings.conf.j2 @@ -77,3 +77,7 @@ bindl = , XF86AudioNext, exec, playerctl next bindl = , XF86AudioPause, exec, playerctl play-pause bindl = , XF86AudioPlay, exec, playerctl play-pause bindl = , XF86AudioPrev, exec, playerctl previous + +# Screenshot +bindd = SUPER SHIFT, 3, Screenshot window, exec, hyprshot -m window +bindd = SUPER SHIFT, 4, Screenshot region, exec, hyprshot -m region -- cgit v1.2.3