-
-
Notifications
You must be signed in to change notification settings - Fork 632
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
Extension to support user custom status modules #416
Conversation
Thanks so much for working on this! I'd like to understand better what makes this a better user experience. For example, I have a "custom" status line module in my config that is two lines:
Can you elaborate on this more? What about the plugin currently makes this more difficult? I would like to keep things as simple as possible, and even avoid having separate config files at all. |
I wrote this mainly for the tmux-cpu plugin. So, this is a simple way to extend and add other configurations like cpu-temp, gpu, etc, in the status bar. Its fine if this pull-request is not accepted in the interest of keeping this module simple. Thank you for your consideration. |
How does it contrast with the existing method of using custom modules at https://github.com/catppuccin/tmux/blob/main/docs/tutorials/02-custom-status.md? |
My intent was to keep the main .tmux.conf more focused on the "main" configuration and keep other status-related configuration in separate configuration files. With the existing method of handling custom modules, it seems that I have to put all of the status-related configuration into the main configuration file. |
This feature improves the existing method of user custom modules by allowing the user to place all custom modules in a single directory.
Example: in the
.tmux.conf
fileThen create
~/.config/tmux/custom/ram.conf
: