ico-sxiv

View the individual entries of an ICO file in sxiv ⏺️

Commit
9f328eb6d664f841ea2d8b7f87bf64f55700a67b
Parent
d1be5a6d30d996d0a9f4c5e87c500920992775ee
Author
Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
Date

Minor improvment

Diffstat

1 file changed, 1 insertion, 2 deletions

Status File Name N° Changes Insertions Deletions
Modified ico-sxiv 3 1 2
diff --git a/ico-sxiv b/ico-sxiv
@@ -11,6 +11,5 @@
 # Free use of this software is granted under the terms of the GPL-3.0 License.
 
 TMP_DIR="$(mktemp -d)"
-convert "$1" "$TMP_DIR/icon.png"
-sxiv "$TMP_DIR"/*.png
+convert "$1" "$TMP_DIR/icon.png" && sxiv "$TMP_DIR"/*.png
 rm "$TMP_DIR" -rf