summaryrefslogtreecommitdiffstats
path: root/src/updates/gwenview_thumbnail_size.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/updates/gwenview_thumbnail_size.sh')
-rw-r--r--src/updates/gwenview_thumbnail_size.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/updates/gwenview_thumbnail_size.sh b/src/updates/gwenview_thumbnail_size.sh
new file mode 100644
index 0000000..5e2872b
--- /dev/null
+++ b/src/updates/gwenview_thumbnail_size.sh
@@ -0,0 +1,12 @@
+#! /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