From 41c0dc6e999ec0105a12990736d1069da75817ca Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Sun, 9 Aug 2015 03:09:26 +0200 Subject: cleaned up and added a possibility to generate a mime type preview/poster --- scalable/mimetypes/Makefile | 3 --- scalable/mimetypes/generate.sh | 8 -------- scalable/mimetypes/mime_text_plain.icon | 4 ---- scalable/mimetypes/text-plain.icon | 4 ---- scalable/mimetypes/text-x-generic.icon | 4 ---- scalable/mimetypes/text-x-generic.png | Bin 101871 -> 0 bytes scalable/mimetypes/text-x-script.png | Bin 267918 -> 0 bytes 7 files changed, 23 deletions(-) delete mode 100644 scalable/mimetypes/Makefile delete mode 100755 scalable/mimetypes/generate.sh delete mode 100644 scalable/mimetypes/mime_text_plain.icon delete mode 100644 scalable/mimetypes/text-plain.icon delete mode 100644 scalable/mimetypes/text-x-generic.icon delete mode 100644 scalable/mimetypes/text-x-generic.png delete mode 100644 scalable/mimetypes/text-x-script.png (limited to 'scalable/mimetypes') diff --git a/scalable/mimetypes/Makefile b/scalable/mimetypes/Makefile deleted file mode 100644 index 2be3891..0000000 --- a/scalable/mimetypes/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -all: - xargs -a /usr/share/mime/globs printf "%s\n" - convert text-x-generic.png -gravity center -pointsize 70 -stroke '#444' -strokewidth 2 -annotate -15 'kackshit' -fill '#ff0' -annotate -15 'kackshit' output.png diff --git a/scalable/mimetypes/generate.sh b/scalable/mimetypes/generate.sh deleted file mode 100755 index d0c19c5..0000000 --- a/scalable/mimetypes/generate.sh +++ /dev/null @@ -1,8 +0,0 @@ -IFS=':' -while read A B -do - FILE=${A/\//-} - TEXT=${B/\*\./} - printf "%s ---- %s\n" $FILE $TEXT - convert text-x-generic.png -gravity center -pointsize 70 -stroke '#444' -strokewidth 2 -annotate -15 "$TEXT" -fill '#ff0' -annotate -15 "$TEXT" output/$FILE.png -done < /usr/share/mime/globs diff --git a/scalable/mimetypes/mime_text_plain.icon b/scalable/mimetypes/mime_text_plain.icon deleted file mode 100644 index 6068181..0000000 --- a/scalable/mimetypes/mime_text_plain.icon +++ /dev/null @@ -1,4 +0,0 @@ -[Icon Data] -DisplayName=Mime text/plain -EmbeddedTextRectangle=8,8,40,40 -AttachPoints=20,20|40,40|50,10|10,50 diff --git a/scalable/mimetypes/text-plain.icon b/scalable/mimetypes/text-plain.icon deleted file mode 100644 index 0111a44..0000000 --- a/scalable/mimetypes/text-plain.icon +++ /dev/null @@ -1,4 +0,0 @@ -[Icon Data] -DisplayName=Mime text/plain -EmbeddedTextRectangle=0,0,256,256 -AttachPoints=20,20|236,236 diff --git a/scalable/mimetypes/text-x-generic.icon b/scalable/mimetypes/text-x-generic.icon deleted file mode 100644 index a523ec8..0000000 --- a/scalable/mimetypes/text-x-generic.icon +++ /dev/null @@ -1,4 +0,0 @@ -[Icon Data] -DisplayName=Mime text/generic -EmbeddedTextRectangle=8,8,40,40 -AttachPoints=20,20|40,40|50,10|10,50 diff --git a/scalable/mimetypes/text-x-generic.png b/scalable/mimetypes/text-x-generic.png deleted file mode 100644 index c10a61c..0000000 Binary files a/scalable/mimetypes/text-x-generic.png and /dev/null differ diff --git a/scalable/mimetypes/text-x-script.png b/scalable/mimetypes/text-x-script.png deleted file mode 100644 index 6eb0d88..0000000 Binary files a/scalable/mimetypes/text-x-script.png and /dev/null differ -- cgit v1.2.3