summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorJackJ30 <jackqjamison@proton.me>2024-10-24 00:51:55 -0400
committerJackJ30 <jackqjamison@proton.me>2024-10-24 00:51:55 -0400
commit56e7ff4771761e1a75a8ac59f1632a9d550fda1b (patch)
tree7f04fedbc3902720883d5f58e24608d0a41c0d89 /.config
parenteec9332265496456b705035af32c24e2a90f48bb (diff)
screenshot copy and idle suspend
Diffstat (limited to '.config')
-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
}