add index.theme
This commit is contained in:
parent
b655b99052
commit
cc7b3fab14
5 changed files with 297 additions and 2 deletions
|
|
@ -1,8 +1,55 @@
|
|||
#!/bin/sh
|
||||
cd icons/scalable
|
||||
for i in 128 64 32 16; do
|
||||
|
||||
TYPES="actions apps categories devices emblems emotes mimetypes places status"
|
||||
SIZES="128 64 32 16"
|
||||
|
||||
D=""
|
||||
|
||||
echo "[Icon Theme]" > ../index.theme
|
||||
echo "Name=MDE" >> ../index.theme
|
||||
echo "Inherits=hicolor" >> ../index.theme
|
||||
for i in scalable $SIZES; do
|
||||
for j in $TYPES; do
|
||||
if [ "x$D" = "x" ]; then
|
||||
D="$i/$j"
|
||||
else
|
||||
D="$D,$i/$j"
|
||||
fi
|
||||
done
|
||||
done
|
||||
echo "Directories=$D" >> ../index.theme
|
||||
echo "" >> ../index.theme
|
||||
|
||||
for i in scalable $SIZES; do
|
||||
for j in $TYPES; do
|
||||
echo "[$i/$j]" >> ../index.theme
|
||||
|
||||
C="`echo $j | sed -E 's/^(.).*$/\1/' | tr "[:lower:]" "[:upper:]"``echo $j | sed -E 's/^.//'`"
|
||||
|
||||
if [ "$j" = "apps" ]; then
|
||||
C="Applications"
|
||||
elif [ "$j" = "mimetypes" ]; then
|
||||
C="MimeTypes"
|
||||
fi
|
||||
echo "Context=$C" >> ../index.theme
|
||||
|
||||
if [ "$i" = "scalable" ]; then
|
||||
echo "Size=64" >> ../index.theme
|
||||
echo "MinSize=8" >> ../index.theme
|
||||
echo "MaxSize=512" >> ../index.theme
|
||||
echo "Type=Scalable" >> ../index.theme
|
||||
else
|
||||
echo "Size=`echo $i | cut -dx -f1`" >> ../index.theme
|
||||
echo "Type=Fixed" >> ../index.theme
|
||||
fi
|
||||
echo "" >> ../index.theme
|
||||
done
|
||||
done
|
||||
|
||||
for i in $SIZES; do
|
||||
echo "-- ${i}x${i}"
|
||||
for j in actions apps categories devices emblems emotes mimetypes places status; do
|
||||
for j in $TYPES; do
|
||||
mkdir -p ../${i}x${i}/${j}
|
||||
echo $j > ../${i}x${i}/${j}/README.txt
|
||||
done
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
248
icons/index.theme
Normal file
248
icons/index.theme
Normal file
|
|
@ -0,0 +1,248 @@
|
|||
[Icon Theme]
|
||||
Name=MDE
|
||||
Inherits=hicolor
|
||||
Directories=scalable/actions,scalable/apps,scalable/categories,scalable/devices,scalable/emblems,scalable/emotes,scalable/mimetypes,scalable/places,scalable/status,128/actions,128/apps,128/categories,128/devices,128/emblems,128/emotes,128/mimetypes,128/places,128/status,64/actions,64/apps,64/categories,64/devices,64/emblems,64/emotes,64/mimetypes,64/places,64/status,32/actions,32/apps,32/categories,32/devices,32/emblems,32/emotes,32/mimetypes,32/places,32/status,16/actions,16/apps,16/categories,16/devices,16/emblems,16/emotes,16/mimetypes,16/places,16/status
|
||||
|
||||
[scalable/actions]
|
||||
Context=Actions
|
||||
Size=64
|
||||
MinSize=8
|
||||
MaxSize=512
|
||||
Type=Scalable
|
||||
|
||||
[scalable/apps]
|
||||
Context=Applications
|
||||
Size=64
|
||||
MinSize=8
|
||||
MaxSize=512
|
||||
Type=Scalable
|
||||
|
||||
[scalable/categories]
|
||||
Context=Categories
|
||||
Size=64
|
||||
MinSize=8
|
||||
MaxSize=512
|
||||
Type=Scalable
|
||||
|
||||
[scalable/devices]
|
||||
Context=Devices
|
||||
Size=64
|
||||
MinSize=8
|
||||
MaxSize=512
|
||||
Type=Scalable
|
||||
|
||||
[scalable/emblems]
|
||||
Context=Emblems
|
||||
Size=64
|
||||
MinSize=8
|
||||
MaxSize=512
|
||||
Type=Scalable
|
||||
|
||||
[scalable/emotes]
|
||||
Context=Emotes
|
||||
Size=64
|
||||
MinSize=8
|
||||
MaxSize=512
|
||||
Type=Scalable
|
||||
|
||||
[scalable/mimetypes]
|
||||
Context=MimeTypes
|
||||
Size=64
|
||||
MinSize=8
|
||||
MaxSize=512
|
||||
Type=Scalable
|
||||
|
||||
[scalable/places]
|
||||
Context=Places
|
||||
Size=64
|
||||
MinSize=8
|
||||
MaxSize=512
|
||||
Type=Scalable
|
||||
|
||||
[scalable/status]
|
||||
Context=Status
|
||||
Size=64
|
||||
MinSize=8
|
||||
MaxSize=512
|
||||
Type=Scalable
|
||||
|
||||
[128/actions]
|
||||
Context=Actions
|
||||
Size=128
|
||||
Type=Fixed
|
||||
|
||||
[128/apps]
|
||||
Context=Applications
|
||||
Size=128
|
||||
Type=Fixed
|
||||
|
||||
[128/categories]
|
||||
Context=Categories
|
||||
Size=128
|
||||
Type=Fixed
|
||||
|
||||
[128/devices]
|
||||
Context=Devices
|
||||
Size=128
|
||||
Type=Fixed
|
||||
|
||||
[128/emblems]
|
||||
Context=Emblems
|
||||
Size=128
|
||||
Type=Fixed
|
||||
|
||||
[128/emotes]
|
||||
Context=Emotes
|
||||
Size=128
|
||||
Type=Fixed
|
||||
|
||||
[128/mimetypes]
|
||||
Context=MimeTypes
|
||||
Size=128
|
||||
Type=Fixed
|
||||
|
||||
[128/places]
|
||||
Context=Places
|
||||
Size=128
|
||||
Type=Fixed
|
||||
|
||||
[128/status]
|
||||
Context=Status
|
||||
Size=128
|
||||
Type=Fixed
|
||||
|
||||
[64/actions]
|
||||
Context=Actions
|
||||
Size=64
|
||||
Type=Fixed
|
||||
|
||||
[64/apps]
|
||||
Context=Applications
|
||||
Size=64
|
||||
Type=Fixed
|
||||
|
||||
[64/categories]
|
||||
Context=Categories
|
||||
Size=64
|
||||
Type=Fixed
|
||||
|
||||
[64/devices]
|
||||
Context=Devices
|
||||
Size=64
|
||||
Type=Fixed
|
||||
|
||||
[64/emblems]
|
||||
Context=Emblems
|
||||
Size=64
|
||||
Type=Fixed
|
||||
|
||||
[64/emotes]
|
||||
Context=Emotes
|
||||
Size=64
|
||||
Type=Fixed
|
||||
|
||||
[64/mimetypes]
|
||||
Context=MimeTypes
|
||||
Size=64
|
||||
Type=Fixed
|
||||
|
||||
[64/places]
|
||||
Context=Places
|
||||
Size=64
|
||||
Type=Fixed
|
||||
|
||||
[64/status]
|
||||
Context=Status
|
||||
Size=64
|
||||
Type=Fixed
|
||||
|
||||
[32/actions]
|
||||
Context=Actions
|
||||
Size=32
|
||||
Type=Fixed
|
||||
|
||||
[32/apps]
|
||||
Context=Applications
|
||||
Size=32
|
||||
Type=Fixed
|
||||
|
||||
[32/categories]
|
||||
Context=Categories
|
||||
Size=32
|
||||
Type=Fixed
|
||||
|
||||
[32/devices]
|
||||
Context=Devices
|
||||
Size=32
|
||||
Type=Fixed
|
||||
|
||||
[32/emblems]
|
||||
Context=Emblems
|
||||
Size=32
|
||||
Type=Fixed
|
||||
|
||||
[32/emotes]
|
||||
Context=Emotes
|
||||
Size=32
|
||||
Type=Fixed
|
||||
|
||||
[32/mimetypes]
|
||||
Context=MimeTypes
|
||||
Size=32
|
||||
Type=Fixed
|
||||
|
||||
[32/places]
|
||||
Context=Places
|
||||
Size=32
|
||||
Type=Fixed
|
||||
|
||||
[32/status]
|
||||
Context=Status
|
||||
Size=32
|
||||
Type=Fixed
|
||||
|
||||
[16/actions]
|
||||
Context=Actions
|
||||
Size=16
|
||||
Type=Fixed
|
||||
|
||||
[16/apps]
|
||||
Context=Applications
|
||||
Size=16
|
||||
Type=Fixed
|
||||
|
||||
[16/categories]
|
||||
Context=Categories
|
||||
Size=16
|
||||
Type=Fixed
|
||||
|
||||
[16/devices]
|
||||
Context=Devices
|
||||
Size=16
|
||||
Type=Fixed
|
||||
|
||||
[16/emblems]
|
||||
Context=Emblems
|
||||
Size=16
|
||||
Type=Fixed
|
||||
|
||||
[16/emotes]
|
||||
Context=Emotes
|
||||
Size=16
|
||||
Type=Fixed
|
||||
|
||||
[16/mimetypes]
|
||||
Context=MimeTypes
|
||||
Size=16
|
||||
Type=Fixed
|
||||
|
||||
[16/places]
|
||||
Context=Places
|
||||
Size=16
|
||||
Type=Fixed
|
||||
|
||||
[16/status]
|
||||
Context=Status
|
||||
Size=16
|
||||
Type=Fixed
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue