[FEAT]: Bar - Show all processes assigned to workspace (Icons / Text / Both)
Most intuitive way for me to use a TWM is to have the Bar actively show what Process is in which Workspace.
Showcased below is my simplistic implementation in Zebar.
I'd like to propose a new feature for Komorebi Bar:
- Allow showing the Icons || Names of all processes in each workspace next to the workspace name.
There should be 3 options for this setting:
- Formatted Process Name (Capitalize first letter, replace [ - , _ ] symbols with space and remove .exe) [ Same as in Picture Above ]
- Only the process Icon
- Icon + Formatted Process Name
We've originally talked about this feature a month ago in your YT comments, I've seen that @LGUG2Z already made progress on the icons, GJ!!!!
sorry but i have to know, what font is that?
sorry but i have to know, what font is that?
Fira Code
I think that this has been implemented now, right @CtByte ?
The workspace widget can show focused apps with icons, but not all open apps.
Displaying app names can be complicated, as the info we have is just the executable's name right now and I think the title is better in most cases.
For example visual studio's exe is devenv.exe, which would not really be descriptive as Devenv. You can check this info with the komorebic visible-windows command.
@patrikzudel Would #1141 and #1176 satisfy your needs? 🤔
Trying it right now! Is it possible to show icons of all the programs present in a workspace?
Currently, only the focused window is shown despite the workspace having 3 programs, is this expected behavior?
From this image from #1141 I figured there should be a way to show all programs in the workspace but can't make it work :/
My config (ver: commit_hash:77ef259e)
"left_widgets": [ { "Komorebi": { "workspaces": { "enable": true, "display": "Icon", "hide_empty_workspaces": false }, "layout": { "enable": false }, "focused_window": { "enable": false, "show_icon": true } } } ],
@patrikzudel
The workspace widget can show focused apps with icons, but not all open apps.
yes, only focused "containers" are shown. I forgot to mention here that if you stack windows then indeed you can see multiple icons. I currently do not use the "first version" of the stackbar as the bar will show it nicely.
@CtByte I see, the plural used in that sentence made me unsure.
Great addition! But for my use cases seeing all the processes / "containers" in a workspace is the priority at the moment :/
Would you consider adding that? Thank you for your work so far!!!!!
@patrikzudel Ah I can see the confusion.
The challenge is how to show all the apps on a workspace if there are stacks as well 🤔 Perhaps there can be a setting on the widget that lists all the apps (not only focused) and separate them by a | like it is on the network widget
This might be enough to separate the icons, so
stack = ()
app1 | (app2 app3) | app4
What do you think? (I do not have much time to develop right now, but I can put this on my todos 🙂 )
Previously, I used spacing differences in my implementation.
Firefox Cmd Notepad Discord
Here, the distance between containers is 3X the distance between icons in a stack. Even 2X might be good.
But frankly, I think even if we wouldn't differentiate stacked processes, it would be sufficient. The main utility is being able to figure out what processes are within a workspace at a glance. It would also save space and retain the minimal aesthetic.
Let's see how it looks with spaces and | or even •, ●. I will try to ping you when there is a PR 🙂
Unrelated: @patrikzudel if you could share komorebi with your sizeable audience that would be cool 😅