Releases: joshmedeski/tmux-nerd-font-window-name
Additional Icon Support
What's Changed
- ssh icon added by @yohasebe in #42
- feat: add more icons for shells or tools by @IAMSolaara in #43
- Adding icons for helix , yazi and gh cli. by @gj1118 in #44
New Contributors
- @yohasebe made their first contribution in #42
- @IAMSolaara made their first contribution in #43
- @gj1118 made their first contribution in #44
Full Changelog: v2.1.1...v2.1.2
Error Handling
Thanks @zatchheems and @Mortimerp9 for helping work through error handling.
Now, if yq
isn't properly installed, the window will be renamed as "name ⚠︎ yq missing"
Icon position
A new config feature flag has been added for positioning the icon to the window name.
config:
show-name: true # must be true for `icon-position` to work
icon-position: "left" # show the icon to the "left" or "right" of the window name (defaults to left)
Thanks for the suggestion @petobens 🎉
Missing USER_CONFIG fix
A quick patch for properly using fallback values when the USER_CONFIG file doesn't exist.
New yaml config 🎉 🗃️
We've restructured the project from a switch / case
to a yaml
file to configure all of the icons, which means it will be much easier to add more icons in the future and allow you to overwrite and add more icons of your own!
Thanks to @kenos1 for all the help!
New yq dependency
With this change, you will need yq installed on your machine.
How to configure
You can configure this plugin by creating a ~/.config/tmux/tmux-nerd-font-window-name.yml
file. The following options can be changed:
config:
fallback-icon: "?" # icon to use if no definition is found
show-name: true # show the window name with the icon
icons:
zsh: "" # overwrite with your own symbol (Nerd Font icon, emoji, whatever!)
cmatrix: "🤯" # add new entries that aren't included
Let me know if you have any questions or issues with the new version!
You can run <prefix>I
to upgrade your tpm plugins 😉
Patch Node Icon
The Node icon got deprecated, replacing with a new code.
Also reindented the bin file.
Htop & top Icon Support
Thanks to @harryvince for adding support for htop and top.
Custom Shell Icon
You can now customize the shell icon for whatever you want, thanks @zatchheems
set -g @tmux-nerd-font-window-name-shell-icon ""
If you have any ideas or thoughts please create an issue.
Show Window Name
Thanks for the feature request
You can now show the window name next to the icon using a new flag that goes in your tmux.conf
set -g @tmux-nerd-font-window-name-show-name true
Remember to run <prefix>U
and follow the prompt to update the plugin.
I don't show the process name by default to get a minimal look, but it makes sense that some people may want to show their window names.
Thanks for all the support, we're already at 20+ stars!
Please let me know if you run into any bugs or have any additional feature requests