Closed 0xJWLabs closed 1 week ago
Since process
is using the same color function as every other component, it would be a larger rewrite to support this. I will accept a good PR if everything is implemented correctly, but it will lead to breaking changes for others. I think it would actually be better to have its own plugin for a component like this than can be added to tabline.wez
similar to the battery.wez
plugin component.
Uhm maybe something like lualine might be good? it has like extend from base component?
because i don’t know how to get like tab to update like the default process one. find the window and list all tabs?
Btw this is kind of out of topic, does wezterm use somehow like encoder for the plugin path? if i wanna refer it to local directory how to get the encoded path?
Or maybe something like this?
{
function()
return " "
end,
padding = { left = 0, right = 1 }
}
I am not completely sure what you are asking. If you want to create your own component you can just create function that returns a string and put that function in the section you want
Yes i know, but i also want to have uhm like options from component like padding option etc.
You can just add spaces on each side of the string, it is the same thing
hey, sorry it’s unrelated but i wanna talk about your dotfiles, where can we talk?
You can send me an Email and I will answer when I have time, you can find it on my GitHub profile
I am gonna close this as it seems inactive and it is out of the scope of this plugin and could instead be its own component
Currently, the process_to_icon functionality allows setting an icon color, but the same color is applied to both active and inactive states. This limits customization and visual distinction between different states of a process. Adding the ability to customize the icon color separately for active and inactive states would provide more flexibility and enhance the UI's clarity and responsiveness.
Proposal
Maybe a config like this?