summaryrefslogtreecommitdiff
path: root/scripts/.local/bin/maimpick
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/.local/bin/maimpick')
-rwxr-xr-xscripts/.local/bin/maimpick2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/.local/bin/maimpick b/scripts/.local/bin/maimpick
index c8bccd5..8b6549e 100755
--- a/scripts/.local/bin/maimpick
+++ b/scripts/.local/bin/maimpick
@@ -4,8 +4,6 @@
# choose the kind of screenshot to take, including copying the image or even
# highlighting an area to copy. scrotcucks on suicidewatch right now.
-dmenu=cdmenu
-
case "$(printf "a selected area\\ncurrent window\\nfull screen\\na selected area (copy)\\ncurrent window (copy)\\nfull screen (copy)" | cdmenu -l 6 -i -p "Screenshot which area?")" in
"a selected area") maim -s pic-selected-"$(date '+%y%m%d-%H%M-%S').png" ;;
"current window") maim -i "$(xdotool getactivewindow)" pic-window-"$(date '+%y%m%d-%H%M-%S').png" ;;