diff options
Diffstat (limited to 'hypr/screenshotwayland.sh')
| -rwxr-xr-x | hypr/screenshotwayland.sh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/hypr/screenshotwayland.sh b/hypr/screenshotwayland.sh deleted file mode 100755 index 212d8e2..0000000 --- a/hypr/screenshotwayland.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env bash -input_type=$(printf "region\nwindow" | rofi -dmenu) -case "$input_type" in - "window") - hyprshot -m window --clipboard-only - ;; - *) - hyprshot -m region --clipboard-only - ;; -esac - -choice=$(printf "save to clipboard\nsave to file" | rofi -dmenu) - -case "$choice" in - "save to file") - wl-paste > ~/Pictures/Screenshots/screenshot-$(date +%F_%H-%M-%S).png - ;; - *) - exit 0 - ;; -esac |
