logo

badwolf

minimalist and privacy-oriented web browser based on WebKitGTK git clone https://anongit.hacktivis.me/git/badwolf.git/

icons_size.sh (368B)


  1. #!/bin/sh
  2. # SPDX-FileCopyrightText: 2019-2022 Badwolf Authors <https://hacktivis.me/projects/badwolf>
  3. # SPDX-License-Identifier: BSD-3-Clause
  4. # Transforms an icon size from the Icon Theme Specification to rsvg-convert(1) options
  5. #sed -r -e 's;^([^x]*)x([^@]*)$;-w \1 -h \2;' -e 's;^([^x]*)x([^@]*)@(.*)$;-w \1 -h \2 -z \3;'
  6. sed -r 's;^([^x]*)x([^@]*)$;-w \1 -h \2;'