Icons representing active tab processes #7
joncrangle
started this conversation in
Show and tell
Replies: 1 comment
-
As of #14, this is now a built in functionality 🎉 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thanks @michaelbrusegard for creating this project.
Here's a show and tell for how I am using
tabline.wez
to show icons for the active tab processes in my tab bar:Create a lua table with process names as keys and corresponding icons ref: wezterm.nerdfonts. Make sure to include a
default
key and value since this will be a fallback icon.The following function looks for a key that starts with the name returned by the
process
component.Within your
tabline.wez
setup fortab_active
and/ortab_inactive
use theget_icon
function:Beta Was this translation helpful? Give feedback.
All reactions