aurora2224311
hypr_screenshot: add entry for saving selected screenshot directly to tmp dir
+2 −1
1 file changed
| @@ -2,12 +2,13 @@ | |||
| 2 | 2 | ||
| 3 | 3 | ocr_cmd="wl-copy" | |
| 4 | 4 | ||
| 5 | − | case "$(printf "a selected area (copy)\ncurrent window (copy)\nfull screen (copy)\na selected area\ncurrent window\nfull screen\na selected area (OCR)" | fuzzel -d -l 7 -i -p "Screenshot which area?")" in | |
| 5 | + | case "$(printf "a selected area (copy)\ncurrent window (copy)\nfull screen (copy)\na selected area\na selected area (tmp dir)\ncurrent window\nfull screen\na selected area (OCR)" | fuzzel -d -l 7 -i -p "Screenshot which area?")" in | |
| 6 | 6 | "a selected area (copy)") hyprshot -m region --clipboard-only ;; | |
| 7 | 7 | "current window (copy)") hyprshot -m window --clipboard-only ;; | |
| 8 | 8 | "full screen (copy)") hyprshot -m output --clipboard-only ;; | |
| 9 | 9 | ||
| 10 | 10 | "a selected area") hyprshot -m region -o ~/pix/ss -f "pic-selected-$(uuidgen | awk -F- '{printf $2}')-$(date '+%y-%m-%d').png" ;; | |
| 11 | + | "a selected area (tmp dir)") hyprshot -m region -o /tmp -f "pic-selected-$(uuidgen | awk -F- '{printf $2}')-$(date '+%y-%m-%d').png" ;; | |
| 11 | 12 | "current window") hyprshot -m window -o ~/pix/ss -f "pic-window-$(uuidgen | awk -F- '{printf $2}')-$(date '+%y-%m-%d').png" ;; | |
| 12 | 13 | "full screen") hyprshot -m output -o ~/pix/ss -f "pic-full-$(uuidgen | awk -F- '{printf $2}')-$(date '+%y-%m-%d').png" ;; | |
| 13 | 14 | ||