summaryrefslogtreecommitdiff
path: root/.config/hypr
diff options
context:
space:
mode:
Diffstat (limited to '.config/hypr')
-rw-r--r--.config/hypr/binds.conf4
-rw-r--r--.config/hypr/hypridle.conf2
2 files changed, 5 insertions, 1 deletions
diff --git a/.config/hypr/binds.conf b/.config/hypr/binds.conf
index 46e829d..62d15a3 100644
--- a/.config/hypr/binds.conf
+++ b/.config/hypr/binds.conf
@@ -12,8 +12,12 @@ bind = $mainMod, RETURN, exec, $menu
bind = $mainMod, A, exec, $terminal
bind = $mainMod, D, killactive,
bind = $mainMod CTRL SHIFT, D, exec, hyprctl kill
+# screenshot (region + full)
bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" ~/Pictures/Screenshots/$(date +'%s_grim.png')
bind = $mainMod, S, exec, grim -o eDP-1 ~/Pictures/Screenshots/$(date +'%s_grim.png')
+# screenshot and copy
+bind = $mainMod CTRL SHIFT, S, exec, grim -g "$(slurp)" - | wl-copy
+bind = $mainMod CTRL, S, exec, grim -o eDP-1 - | wl-copy
bind = $mainMod, M, exit,
bind = $mainMod, V, togglefloating,
bind = $mainMod, P, exec, hyprpicker -a
diff --git a/.config/hypr/hypridle.conf b/.config/hypr/hypridle.conf
index 8a4a3c0..d871778 100644
--- a/.config/hypr/hypridle.conf
+++ b/.config/hypr/hypridle.conf
@@ -5,5 +5,5 @@ general {
listener {
timeout = 300 # 5min
- on-timeout = loginctl suspend
+ on-timeout = systemctl suspend
}