diff options
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | scalable/mimetypes/Makefile | 3 | ||||
-rwxr-xr-x | scalable/mimetypes/generate.sh | 8 | ||||
-rw-r--r-- | scalable/mimetypes/mime_text_plain.icon | 4 | ||||
-rw-r--r-- | scalable/mimetypes/text-plain.icon | 4 | ||||
-rw-r--r-- | scalable/mimetypes/text-x-generic.icon | 4 | ||||
-rw-r--r-- | scalable/mimetypes/text-x-generic.png | bin | 101871 -> 0 bytes | |||
-rw-r--r-- | scalable/mimetypes/text-x-script.png | bin | 267918 -> 0 bytes |
8 files changed, 5 insertions, 25 deletions
@@ -4,7 +4,10 @@ all: clean | |||
4 | generate: preview.png versions update-cache | 4 | generate: preview.png versions update-cache |
5 | 5 | ||
6 | preview.png: | 6 | preview.png: |
7 | $(shell find "scalable/" -type f -name "*.png" -not -path ".git/*" -not -path 'scalable/animations/*' | sort | feh -m -y 96 -E 96 -s -p -b trans -O preview.png -f-) | 7 | $(shell find "scalable/" -type f -name "*.png" -not -path ".git/*" -not -path 'scalable/animations/*' -not -path 'scalable/mimetypes/*' | sort | feh -m -y 96 -E 96 -s -p -b trans -O preview.png -f-) |
8 | |||
9 | preview_mimetypes.png: | ||
10 | $(shell find "scalable/mimetypes" -type f -name "*.png" | sort | feh -m -y 256 -E 256 -W 8192 -s -p -b trans -O preview_mimetypes.png -f-) | ||
8 | 11 | ||
9 | versions: | 12 | versions: |
10 | find scalable/ -name '*.png' -exec ./generate.sh '{}' \; | 13 | find scalable/ -name '*.png' -exec ./generate.sh '{}' \; |
@@ -13,4 +16,4 @@ update-cache: | |||
13 | gtk-update-icon-cache `pwd` | 16 | gtk-update-icon-cache `pwd` |
14 | 17 | ||
15 | clean: | 18 | clean: |
16 | rm -f preview.png | 19 | rm -f preview.png preview_mimetypes.png |
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 @@ | |||
1 | all: | ||
2 | xargs -a /usr/share/mime/globs printf "%s\n" | ||
3 | 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 @@ | |||
1 | IFS=':' | ||
2 | while read A B | ||
3 | do | ||
4 | FILE=${A/\//-} | ||
5 | TEXT=${B/\*\./} | ||
6 | printf "%s ---- %s\n" $FILE $TEXT | ||
7 | convert text-x-generic.png -gravity center -pointsize 70 -stroke '#444' -strokewidth 2 -annotate -15 "$TEXT" -fill '#ff0' -annotate -15 "$TEXT" output/$FILE.png | ||
8 | 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 @@ | |||
1 | [Icon Data] | ||
2 | DisplayName=Mime text/plain | ||
3 | EmbeddedTextRectangle=8,8,40,40 | ||
4 | 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 @@ | |||
1 | [Icon Data] | ||
2 | DisplayName=Mime text/plain | ||
3 | EmbeddedTextRectangle=0,0,256,256 | ||
4 | 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 @@ | |||
1 | [Icon Data] | ||
2 | DisplayName=Mime text/generic | ||
3 | EmbeddedTextRectangle=8,8,40,40 | ||
4 | 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 --- a/scalable/mimetypes/text-x-generic.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/scalable/mimetypes/text-x-script.png b/scalable/mimetypes/text-x-script.png deleted file mode 100644 index 6eb0d88..0000000 --- a/scalable/mimetypes/text-x-script.png +++ /dev/null | |||
Binary files differ | |||