diff options
| author | --global <ik.boikov.public@protonmail.com> | 2021-08-09 20:42:29 +0200 |
|---|---|---|
| committer | --global <ik.boikov.public@protonmail.com> | 2021-08-09 20:42:29 +0200 |
| commit | 78f2fb985a56c357cce7ad0d10432c784b7282b6 (patch) | |
| tree | 772e3631546381889f22379bda7554f99216b894 /scripts/.local/bin/maimpick | |
| parent | a4aff15001464ac8e7a948e4ed98aa5af19663ad (diff) | |
forgot to color some dmenus
Diffstat (limited to 'scripts/.local/bin/maimpick')
| -rwxr-xr-x | scripts/.local/bin/maimpick | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/.local/bin/maimpick b/scripts/.local/bin/maimpick index 7125e61..c8bccd5 100755 --- a/scripts/.local/bin/maimpick +++ b/scripts/.local/bin/maimpick @@ -4,7 +4,9 @@ # choose the kind of screenshot to take, including copying the image or even # highlighting an area to copy. scrotcucks on suicidewatch right now. -case "$(printf "a selected area\\ncurrent window\\nfull screen\\na selected area (copy)\\ncurrent window (copy)\\nfull screen (copy)" | dmenu -l 6 -i -p "Screenshot which area?")" in +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" ;; "full screen") maim pic-full-"$(date '+%y%m%d-%H%M-%S').png" ;; |
