summaryrefslogtreecommitdiffstats
path: root/roles/hyprland
diff options
context:
space:
mode:
Diffstat (limited to 'roles/hyprland')
-rw-r--r--roles/hyprland/tasks/main.yml1
-rw-r--r--roles/hyprland/templates/bindings.conf.j24
2 files changed, 5 insertions, 0 deletions
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