Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to not use/need nerd font #37

Open
openjck opened this issue Oct 27, 2024 · 3 comments
Open

Option to not use/need nerd font #37

openjck opened this issue Oct 27, 2024 · 3 comments

Comments

@openjck
Copy link
Contributor

openjck commented Oct 27, 2024

Please correct me if I'm mistaken, but it appears tmux-floax requires a nerd font, like Powerline. I don't use a nerd font because I find them frustrating to install in some environments, like WSL. I believe that's why the title bar of the floating pane looks odd for me:

Screenshot from 2024-10-26 21-46-27

Please add an option which can be used to direct tmux-floax not to attempt to use a nerd font, similar to the --simplified-ui option in Zellij. Thank you! 🙂

@dotintegral
Copy link
Contributor

Hey. This actually could be a second use-case for my idea here #35

If given option to set custom default title, you could just provide one without nerd font icons 🤔

@dotintegral
Copy link
Contributor

@openjck Hey, seems that there is a hidden (as in, not documented) variable that can be used for that:

In Tmux config, just set the @floax-title to something without nerd font:

set -g @floax-title 'floax'

@openjck
Copy link
Contributor Author

openjck commented Nov 13, 2024

Thank you very much! That worked for me.

For now, I set the title to the character that's used for the top and bottom borders () so that the floating window doesn't appear to have a title at all. (I tried using the empty string first, but the plugin ignored that.)

set -g @floax-title '─'

Screenshot from 2024-11-12 20-03-41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants