dotfiles

My personal dotfiles 💠️

ico-sxiv (533B)

      1 #!/bin/sh
      2 #  _                          _       
      3 # (_) ___ ___        _____  _(_)_   __
      4 # | |/ __/ _ \ _____/ __\ \/ / \ \ / /
      5 # | | (_| (_) |_____\__ \>  <| |\ V / 
      6 # |_|\___\___/      |___/_/\_\_| \_/  
      7 #                                     
      8 # View the individual entries of an ICO file in `sxiv`.
      9 # 
     10 # Copyright (C) 2020 Pablo Emilio Escobar Gaviria.
     11 # Free use of this software is granted under the terms of the GPL-3.0 License.
     12 
     13 TMP_DIR="$(mktemp -d)"
     14 convert "$1" "$TMP_DIR/icon.png" && sxiv "$TMP_DIR"/*.png
     15 rm "$TMP_DIR" -rf