diff options
| author | Daniel <[email protected]> | 2024-07-03 13:07:48 -0400 |
|---|---|---|
| committer | Daniel <[email protected]> | 2024-07-03 13:07:48 -0400 |
| commit | 0b1d37ef938d26b4e73dbe006e0188c1167cc419 (patch) | |
| tree | c5955561ed1f4a60a7e289c21083f891f426f1ed /bin | |
| parent | 0c1a6a6ed29731d88116a67b4f5a10403f4c3645 (diff) | |
Revert "add notifications done"
This reverts commit 3fa5ce3cc229cdb5f066babb2328edb531165a45.
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/.local/bin/scripts/maimpick | 12 |
1 files changed, 6 insertions, 6 deletions
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 |
