This commit is contained in:
Hannes
2026-05-08 17:53:39 +02:00
commit 0c8deaa90b
70 changed files with 3448 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
###
### ~/.config/hypr/scripts/screenshot/screenshot_area.sh
###
time=$(date +%Y-%m-%d-%I-%M-%S)
geometry=$(hyprctl monitors -j | jq -r '.[] | select(.focused) | "\(.width)x\(.height)"')
dir="$(xdg-user-dir PICTURES)/Screenshots"
file="Screenshot_${time}_${geometry}.png"
mkdir -p "$dir"
# Take screenshot of selected region using hyprshot
hyprshot -m region -o "$dir" -f "$file" --clipboard-only