diff options
-rwxr-xr-x | .config/herbstluftwm/maim.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.config/herbstluftwm/maim.sh b/.config/herbstluftwm/maim.sh index a569460..d01b527 100755 --- a/.config/herbstluftwm/maim.sh +++ b/.config/herbstluftwm/maim.sh @@ -41,11 +41,10 @@ if [[ $mode == clipboard ]]; then exit fi -maim -u${selection} $fname +maim -u${selection} $fname && optipng $fname if [[ $mode == send ]]; then [[ -f $fname ]] \ - && optipng $fname \ && send $fname \ && notify-send "maim: sent ${fname:t} to /tmp/" \ || notify-send "maim: send to /tmp/ failed" |