ironbar
ironbar copied to clipboard
Feature request: workspaces default icon
Is your feature request related to a problem? Please describe. While configuring workspace block, it's possible to assign an icon to specific place. But doesn't look like possible to define a "default" icon for an extra workspace that will be opened/created.
Describe the solution you'd like
The solution could be to add two new configuration parameters for workspaces: default
and focused
.
These parameters will be used as default values if new workspace is created (e.g. 4, 5, 6, ...).
Example of proposed config:
{
"end": [
{
"type": "workspaces",
"name_map": {
"1": "",
"2": "",
"3": ""
},
"favorites": ["1", "2", "3"],
"default": "",
"focused": "⚪",
"all_monitors": false
}
]
}
Reference of the used example: https://github.com/JakeStanger/ironbar/wiki/workspaces
Describe alternatives you've considered
Currently looking through the GTK's documentation to find a possible way to assign the icon via the style.css
.
From my progression: the content
keyword isn't supported in style.css
and I don't know what will be the behavior between icons assignment inside the name_map
and the stylesheet.
Additional context None.