Releases: joshmedeski/tmux-nerd-font-window-name
Custom Formatting Support
New Feature - Custom Formatting
You can now use the auto-rename-format option with a new #{window_icon} to customize how your tmux windows are named.
set -g automatic-rename-format "#{window_icon} #{b:pane_current_path}"Thanks to @HT2Knock for the PR!
What's Changed
- Adding Just file icon by @gj1118 in #45
- Fix: handle escaping invalid chars in ya parsing, use -r flag to ensure no quotes around icons by @z3z1ma in #47
- Add weechat irc client icon by @vlanx in #49
- Add 3 new process icons by @jasonshanks in #50
- Add python3 support by @arne-vl in #54
- add vi alias for vim by @Mause in #55
- feat: add bazel, glances and kubie icons by @chagui in #56
- feat: allow placeholder replace over custom format by @HT2Knock in #57
New Contributors
- @z3z1ma made their first contribution in #47
- @vlanx made their first contribution in #49
- @jasonshanks made their first contribution in #50
- @arne-vl made their first contribution in #54
- @Mause made their first contribution in #55
- @chagui made their first contribution in #56
- @HT2Knock made their first contribution in #57
Full Changelog: v2.1.2...v2.2.0
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 includedLet 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

