diff options
| author | caley <u65487754@gmail.com> | 2026-05-14 04:56:42 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-14 04:56:42 +0000 |
| commit | 346798b5954de6c746d4c25291e2b5374e172737 (patch) | |
| tree | 584c5166b85fb0d40095d2dd243b0162a7917f2a | |
| parent | ea094cea99e4c8e8ba20b1c300f0cc9a87541548 (diff) | |
Update screenshot binding to save to Pictures directory
| -rw-r--r-- | .config/hypr/hyprland.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 3b8e13d..4c854cd 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -113,7 +113,7 @@ bind = $mod, T, exec, ~/.config/scripts/master.sh bind = $mod, L, exec, ~/.config/scripts/power.sh bind = $mod, W, exec, pkill -SIGUSR1 waybar bind = $mod, P, exec, bash -c '[[ -f /tmp/hyprpickerlock ]] && exit; touch /tmp/hyprpickerlock; hyprpicker --no-zoom --autocopy; rm -f /tmp/hyprpickerlock' -bind = ALT, S, exec, bash -c '[[ -f /tmp/slurplock ]] && exit; touch /tmp/slurplock; grim -g "$(slurp)" - | wl-copy; rm -f /tmp/slurplock' +bind = ALT, S, exec, bash -c '[[ -f /tmp/slurplock ]] && exit; touch /tmp/slurplock; mkdir -p /home/silly/Pictures/screenshots; f="/home/silly/Pictures/screenshots/$(date +%Y-%m-%d_%H-%M-%S).png"; grim -g "$(slurp)" "$f" && wl-copy < "$f"; rm -f /tmp/slurplock' bind = $mod, left, movefocus, l bind = $mod, right, movefocus, r |
