summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/hypr/hyprland.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
index 01f8950..5c27eae 100644
--- a/.config/hypr/hyprland.conf
+++ b/.config/hypr/hyprland.conf
@@ -164,8 +164,8 @@ bind = $MOD SHIFT, B, exec, kitty -e btop
bind = $MOD SHIFT, L, exec, waylock
#screenshot
-bind = ,Print, exec, grim "$GRIM_DEFAULT_DIR/"pic-full-"$(date +%y-%m-%d--%H-%M-%S)".png
-bind = CTRL,Print, exec, grim -g "$(slurp)" $GRIM_DEFAULT_DIR/pic-sel-"$(date +%y-%m-%d--%H-%M-%S)".png
+bind = ,Print, exec, IMG=pic-full-"$(date +%y-%m-%d--%H-%M-%S)".png && grim "$GRIM_DEFAULT_DIR/""$IMG" && wl-copy < "$GRIM_DEFAULT_DIR/""$IMG"
+bind = CTRL,Print, exec, IMG=pic-sel-"$(date +%y-%m-%d--%H-%M-%S)".png && grim -g "$(slurp)" "$GRIM_DEFAULT_DIR/""$IMG" && wl-copy < "$GRIM_DEFAULT_DIR/""$IMG"
#otherkeyb
bind = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle && [[ "$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | grep MUTE)" ]] && dunstify "Mute" "Volume set to 0%" -i volume-xmark -t 1000 -r 1234