diff options
author | Mattias Andrée <maandree@kth.se> | 2018-06-10 22:03:44 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2018-06-10 22:27:46 +0200 |
commit | 6dd6b9ee72324f48dc3807fe5ac55534b85afac9 (patch) | |
tree | afbd7ef70b9548c0466d5d19e81f85fe95fcef60 /make-dir-info | |
download | simple-icon-theme-6dd6b9ee72324f48dc3807fe5ac55534b85afac9.tar.gz simple-icon-theme-6dd6b9ee72324f48dc3807fe5ac55534b85afac9.tar.bz2 simple-icon-theme-6dd6b9ee72324f48dc3807fe5ac55534b85afac9.tar.xz |
First commit
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'make-dir-info')
-rwxr-xr-x | make-dir-info | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/make-dir-info b/make-dir-info new file mode 100755 index 0000000..d43efe1 --- /dev/null +++ b/make-dir-info @@ -0,0 +1,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 |