Skip to content

Application themes

worron edited this page Jun 10, 2018 · 1 revision

Introduction

With ACYLS (see "Applications" tab in configuration program) you can handle with icons theme for specific applications. Every theme is literally directory tree with icons, which can be copied and replace original content of application. Themes are placed in scalable/application_icons by default, and it's location can be changed by editing configuration file.

Application icons has the same svg format as a main pack, and can be recolored the same way with configuration program. But unlike the main pack it can аutomatically converted to raster format for better compatibility.

Some additional information about theme (like icon type, size, etc) set in plain text config files config.ini. There is at least one file in the parent directory and it defines settings for whole pack. Also there can be optional config files in any subdirectory, and it defines custom settings for icons for this subdirectory only. Unlike main config this optional files settings does not have recursive effect, and applies on files on same level only.

Configuration file options

Here is example of main config file for an abstract application theme.

[Main]
name = MyApp
size = 64
type = png
path = /usr/share/pixmaps
comment = Warning! All original icons in destination folder will be lost.

[Size]
myapp_large_logo = 128
myapp_tray_icon = 24

[Type]
myapp_tray_icon = ico
Section "Main".

In this section some global settings defined. This settings applied for whole pack if it's main config file and for all icons on same level if it's optional config file.

Option "name" (main file only).

Theme label which will be displayed in configuration program.

Option "path" (main file only).

The location of original application files.

Option "type" (optional).

Icon type. Valid values: "jpeg", "png", "tiff", "ico", "bmp", "svg". Default value: png.

Option "size" (optional).

Icon size for raster icons. Default value: 48.

Option "comment" (optional) (main file only).

Some message which will be displayed in configuration program. Default value: "No comments.".

Section "Size" (optional).

In this section individual size settings can be defined for any icon in the same directory with config file. Every option in this section is file name without extension, and it's value is icon size for render. This option makes sense for non svg icons only.

Section "Type" (optional).

In this section individual icon type can be defined for any file in the same directory with config file. Every option in this section is file name without extension, and it's value is file type for render.

Application Themes as Icon Group

Due to the simple structure, application themes can be presented as custom icon group in configuration program. it's set as "IconGroup5" in default configuration file. See icon group for more details.