vim/pixmaps/gen-inline-pixbufs.sh
2021-08-29 21:55:35 +02:00

11 lines
211 B
Bash

#! /bin/sh
prefix=stock_
list=
for file in "$@"; do
name=$(echo "$file" | sed 's|-|_|g; s|^.*/||; s|\..*$||')
list="$list $prefix$name $file"
done
gdk-pixbuf-csource --raw --static --build-list $list