Originally created by @CtByte on GitHub (May 16, 2024).
Is your feature request related to a problem? Please describe.
I sometimes can have the same program stacked multiple times with different titles. It would be nice to have the option to use the window title to differentiate the windows on the stackbar.
Describe the solution you'd like
The komorebi.json setting for the stackbar can have optional properties to set which value to use from the window as the title or as a tooltip of the tab on mouse hover.
Additional context
It can prove to be complicated if the window title is being used in the setting, as that can change often. It could perhaps be easier and less demanding to load the title of the window only when hovering over the tabs (and only have the tooltip option in the settings).
Originally created by @CtByte on GitHub (May 16, 2024).
**Is your feature request related to a problem? Please describe.**
I sometimes can have the same program stacked multiple times with different titles. It would be nice to have the option to use the window title to differentiate the windows on the stackbar.
---
**Describe the solution you'd like**
The `komorebi.json` setting for the stackbar can have optional properties to set which value to use from the window as the `title` or as a `tooltip` of the tab on mouse hover.
```
"stackbar": {
"height": 40,
"mode": "OnStack",
"tabs": {
"title": "WindowExe | WindowTitle",
"tooltip": "WindowExe | WindowTitle",
"width": 300,
"focused_text": "#bfaa69",
"unfocused_text": "#f2bdf3",
"background": "#121826"
}
},
```
<img width="582" alt="Screenshot 2024-05-16 085051" src="https://github.com/LGUG2Z/komorebi/assets/165908630/e6f36008-02a7-4cc5-89ec-ce86330ad2e8">
`komorebic state`
```
{
"hwnd": 132316,
"title": "Teams and Channels | General | Microsoft Teams",
"exe": "ms-teams.exe",
"class": "TeamsWebView",
"rect": {
"left": 3857,
"top": 107,
"right": 3806,
"bottom": 1964
}
},
{
"hwnd": 198794,
"title": "komorebi - Microsoft Visual Studio",
"exe": "devenv.exe",
"class": "HwndWrapper[DefaultDomain;;d6598a44-aa98-4635-962c-a223add23116]",
"rect": {
"left": 3857,
"top": 107,
"right": 3806,
"bottom": 1964
}
},
{
"hwnd": 67862,
"title": "zebar - Microsoft Visual Studio",
"exe": "devenv.exe",
"class": "HwndWrapper[DefaultDomain;;512823ca-20af-46de-9a59-89d338d3cea5]",
"rect": {
"left": 3857,
"top": 107,
"right": 3806,
"bottom": 1964
}
}
```
---
**Additional context**
It can prove to be complicated if the window title is being used in the setting, as that can change often. It could perhaps be easier and less demanding to load the title of the window only when hovering over the tabs (and only have the `tooltip` option in the settings).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @CtByte on GitHub (May 16, 2024).
Is your feature request related to a problem? Please describe.
I sometimes can have the same program stacked multiple times with different titles. It would be nice to have the option to use the window title to differentiate the windows on the stackbar.
Describe the solution you'd like
The
komorebi.jsonsetting for the stackbar can have optional properties to set which value to use from the window as thetitleor as atooltipof the tab on mouse hover.komorebic stateAdditional context
It can prove to be complicated if the window title is being used in the setting, as that can change often. It could perhaps be easier and less demanding to load the title of the window only when hovering over the tabs (and only have the
tooltipoption in the settings).@CtByte commented on GitHub (May 16, 2024):
moving discussion to #826