diff options
author | katherine <shmibs@shmibbles.me> | 2017-12-10 19:56:18 -0700 |
---|---|---|
committer | katherine <shmibs@shmibbles.me> | 2017-12-10 19:56:18 -0700 |
commit | 0647dceb4f8c8cb64a446e92534925b9089befb3 (patch) | |
tree | 10a33bb364cf7af9a68d58e18538b4e2c6423960 | |
parent | f9f9f6618a1110e3818874140410006b40f7f7ba (diff) | |
download | dotfiles-0647dceb4f8c8cb64a446e92534925b9089befb3.tar.gz |
always optipng files
-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" |