summaryrefslogtreecommitdiff
path: root/.local/bin/maimshot
diff options
context:
space:
mode:
authorkrolxon <krolyxon@tutanota.com>2024-12-06 22:04:01 +0530
committerkrolxon <krolyxon@tutanota.com>2024-12-06 22:04:01 +0530
commit04e18be665991c2f6b51dece2655e04541a0fb9f (patch)
treed63ca5a5c2ed5e2df52015339dcd19404df5a709 /.local/bin/maimshot
parentdce15fb90d117863d1f6877fd828d36ffdcd07d0 (diff)
alacritty docked & normal configs, use nvim as manpager
Diffstat (limited to '.local/bin/maimshot')
-rwxr-xr-x.local/bin/maimshot2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/maimshot b/.local/bin/maimshot
index 39d6319..db4780c 100755
--- a/.local/bin/maimshot
+++ b/.local/bin/maimshot
@@ -2,7 +2,7 @@
ocr_cmd="xclip -sel clip"
-case "$(printf "a selected area (copy)\\ncurrent window (copy)\\nfull screen (copy)\\na selected area\\ncurrent window\\nfull screen\\na selected area (OCR)" | dmenu -l 6 -i -p "Screenshot which area?")" in
+case "$(printf "a selected area (copy)\\ncurrent window (copy)\\nfull screen (copy)\\na selected area\\ncurrent window\\nfull screen\\na selected area (OCR)" | dmenu -l 7 -i -p "Screenshot which area?")" in
"a selected area (copy)") maim -u -s | xclip -selection clipboard -t image/png ;;
"current window (copy)") maim -i "$(xdotool getactivewindow)" | xclip -selection clipboard -t image/png ;;
"full screen (copy)") sleep 0.2 ; maim | xclip -selection clipboard -t image/png ;;