Skip to content

Releases: joshmedeski/tmux-nerd-font-window-name

Error Handling

26 Mar 14:04
Compare
Choose a tag to compare

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"

SCR-20240326-iivb

Icon position

25 Nov 19:59
410d5be
Compare
Choose a tag to compare

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

16 Aug 15:13
Compare
Choose a tag to compare

A quick patch for properly using fallback values when the USER_CONFIG file doesn't exist.

New yaml config 🎉 🗃️

16 Aug 14:38
f0bfaff
Compare
Choose a tag to compare

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

28 Jun 19:15
Compare
Choose a tag to compare

The Node icon got deprecated, replacing with a new code.

Also reindented the bin file.

Htop & top Icon Support

13 Apr 15:45
fe69247
Compare
Choose a tag to compare

Thanks to @harryvince for adding support for htop and top.

Custom Shell Icon

24 Mar 15:58
575f452
Compare
Choose a tag to compare

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

20 Mar 22:32
0130ff4
Compare
Choose a tag to compare

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.

Here's a little preview:
Screenshot 2023-03-20 at 5 25 14 PM

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