-
Notifications
You must be signed in to change notification settings - Fork 10
Alternatives
ACYLS have several variants of some icon (see 'Alternatives' tab in configuration program). You can also add your own alternatives. Alternatives defined by scalable/alternative_icons directory structure.
For example, let's add 'Graphics' alternative group. This group will contain several icons for Gimp and Inkscape graphic editors.
First create group directory (WARNING: only lowercase naming allowed)
$ cd ~/.icons/ACYLS/
$ mkdir scalable/alternative_icons/graphics
Then create directory for different icon variants
$ mkdir scalable/alternative_icons/graphics/origin
$ mkdir scalable/alternative_icons/graphics/fashion
Now how alternatives work. When you select one of the variants, directory tree from chosen folder replacing files in scalable/real_icons. Let's make a backup of current icons as 'origin' theme. Both icons you can find in 'apps' subdirectory of real icons. So we need create 'apps' subdirectory inside 'origin' alternative and put icons there.
$ mkdir scalable/alternative_icons/graphics/origin/apps
$ cp scalable/real_icons/apps/{gimp.svg,inkscape.svg} scalable/alternative_icons/graphics/origin/apps/
Other theme directories should be filled the same way with alternative icons. Since we have no real alternatives now, let's make another copy of original for testing.
$ mkdir scalable/alternative_icons/graphics/fashion/apps
$ cp scalable/real_icons/apps/{gimp.svg,inkscape.svg} scalable/alternative_icons/graphics/fashion/apps
That's all. You can run configuration program and see new alternatives.
ACYLS also use alternatives as one of the icon groups that have own color settings. To proper work with new alternative group you should create its preview icon.
$ mkdir scripts/preview/alternative/graphics
$ cp scalable/real_icons/apps/gimp.svg scripts/preview/alternative/graphics/