From 0b1d37ef938d26b4e73dbe006e0188c1167cc419 Mon Sep 17 00:00:00 2001 From: Daniel <89086143+BardofSprites@users.noreply.github.com> Date: Wed, 3 Jul 2024 13:07:48 -0400 Subject: Revert "add notifications done" This reverts commit 3fa5ce3cc229cdb5f066babb2328edb531165a45. --- bin/.local/bin/scripts/maimpick | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bin') diff --git a/bin/.local/bin/scripts/maimpick b/bin/.local/bin/scripts/maimpick index 7efad64..da58635 100755 --- a/bin/.local/bin/scripts/maimpick +++ b/bin/.local/bin/scripts/maimpick @@ -5,10 +5,10 @@ output="$(date '+%y%m%d-%H%M-%S').png" xclip_cmd="xclip -sel clip -t image/png" 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 - "a selected area") maim -u -s $HOME/Pictures/screenshots/pic-selected-"${output}"; notify-send "Selected area screenshot saved";; - "current window") maim -q -d 0.2 -i "$(xdotool getactivewindow)" $HOME/Pictures/screenshots/pic-window-"${output}"; notify-send "Current window screenshot saved" ;; - "full screen") maim -q -d 0.2 $HOME/Pictures/screenshots/pic-full-"${output}"; notify-send "Fullscreen screenshot saved" ;; - "a selected area (copy)") maim -u -s | ${xclip_cmd}; notify-send "Selected area screenshot copied" ;; - "current window (copy)") maim -q -d 0.2 -i "$(xdotool getactivewindow)" | ${xclip_cmd}; notify-send "Current window screenshot copied";; - "full screen (copy)") maim -q -d 0.2 | ${xclip_cmd}; notify-send "Fullscreen screenshot copied";; + "a selected area") maim -u -s $HOME/Pictures/screenshots/pic-selected-"${output}" ;; + "current window") maim -q -d 0.2 -i "$(xdotool getactivewindow)" $HOME/Pictures/screenshots/pic-window-"${output}" ;; + "full screen") maim -q -d 0.2 $HOME/Pictures/screenshots/pic-full-"${output}" ;; + "a selected area (copy)") maim -u -s | ${xclip_cmd} ;; + "current window (copy)") maim -q -d 0.2 -i "$(xdotool getactivewindow)" | ${xclip_cmd} ;; + "full screen (copy)") maim -q -d 0.2 | ${xclip_cmd} ;; esac -- cgit v1.2.3