From 0647dceb4f8c8cb64a446e92534925b9089befb3 Mon Sep 17 00:00:00 2001 From: katherine Date: Sun, 10 Dec 2017 19:56:18 -0700 Subject: always optipng files --- .config/herbstluftwm/maim.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '.config/herbstluftwm') 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" -- cgit v1.2.3