You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gwenview/src/updates/gwenview_thumbnail_size.sh

13 lines
415 B

#! /bin/sh
while read line; do
if echo "$line" | grep '^thumbnail size=small' >/dev/null 2>/dev/null; then
echo "thumbnail size=48"
elif echo "$line" | grep '^thumbnail size=med' >/dev/null 2>/dev/null; then
echo "thumbnail size=96"
elif echo "$line" | grep '^thumbnail size=large' >/dev/null 2>/dev/null; then
echo "thumbnail size=128"
else
echo "$line"
fi
done