Merge pull request #1221 from Anakael/pr/anakael/add-name-to-taskbar

[Taskbar] feat: Add name format replacementf feat: Add app ids mapping (ready for review)
This commit is contained in:
Alex
2021-12-23 23:01:21 +01:00
committed by GitHub
3 changed files with 140 additions and 75 deletions

View File

@ -72,10 +72,16 @@ Addressed by *wlr/taskbar*
typeof: array ++
List of app_id/titles to be invisible.
*app_ids-mapping*: ++
typeof: object ++
Dictionary of app_id to be replaced with
# FORMAT REPLACEMENTS
*{icon}*: The icon of the application.
*{title}*: The application name as in desktop file if appropriate desktop fils found, otherwise same as {app_id}
*{title}*: The title of the application.
*{app_id}*: The app_id (== application name) of the application.
@ -105,7 +111,10 @@ Addressed by *wlr/taskbar*
"on-click-middle": "close",
"ignore-list": [
"Alacritty"
]
],
"app_ids-mapping": {
"firefoxdeveloperedition": "firefox-developer-edition"
}
}
```