aboutsummaryrefslogtreecommitdiffstats
path: root/make-dir-info
blob: d43efe19743aaa388b60bec11629291b06577362 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh

if test "$2" = actions; then
	context=Actions
elif test "$2" = animations; then
	context=Animations
elif test "$2" = categories; then
	context=Categories
elif test "$2" = devices; then
	context=Devices
elif test "$2" = emblems; then
	context=Emblems
elif test "$2" = emotes; then
	context=Emotes
elif test "$2" = mimetypes; then
	context=MimeTypes
elif test "$2" = places; then
	context=Places
elif test "$2" = status; then
	context=Status
fi

if test "$1" = scalable; then
	printf '[%s/%s]\n' "$1" "$2"
	printf '%s\n' Context="$context" Size="16" MinSize="8" MaxSize="1024" Type="Scalable"
else
	printf '[%sx%s/%s]\n' "$1" "$1" "$2"
	printf '%s\n' Context="$context" Size="$1" Type="Fixed"
fi