Add support for multiple icon themes in the config

If there are multiple icon themes defined in the config option
'icon-theme' the module will try from left to right to find an icon.
The system default will always be added to this list.
This commit is contained in:
Till Smejkal
2020-07-05 13:07:12 +02:00
parent b7e8275d90
commit 06ad35c42b
3 changed files with 36 additions and 15 deletions

View File

@ -25,7 +25,7 @@ Addressed by *wlr/taskbar*
*icon-theme*: ++
typeof: string ++
The name of the icon-theme that should be used. If omitted, the system default will be used.
The names of the icon-themes that should be used to find an icon. The list will be traversed from left to right. If omitted, the system default will be used.
*icon-size*: ++
typeof: integer ++