Automatically add Nerd Font support to your tmux window names!
This plugin can be installed with the Tmux Plugin Manager (tpm).
Add the following line to your tmux configuration file:
set -g @plugin 'joshmedeski/tmux-nerd-font-window-name'
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
multi-pane-icon: "" # icon to use for window with multiple panes, if not specified, only active pane's icon will used as the default.
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
Contributions are welcome! Feel free to make a pull request to submit more preset icon settings or improve the codebase!