fabioluciano / tmux-tokyo-night

174 stars 35 forks source link

Any examples of using @theme-plugins ? #6

Closed webframp closed 1 year ago

webframp commented 1 year ago

This is a great theme, I almost made the same one myself until I found yours.

Now I'm wondering if this refers only to internal plugins or other well known plugins like https://github.com/tmux-plugins/tmux-prefix-highlight

Thanks!

KalleChen commented 1 year ago
set -g @theme-plugins "datetime weather"

would look like this

but it seems that it only support internal plugins (datetime & weather), you can see that in theme.sh L:58

btw, weather plugin seems not done yet, its the same with datetime.

KalleChen commented 1 year ago

Hi @webframp

I just opened a PR #9 to support external plugin to be added to status-right

If you want to use like tmux-prefix-highlight, you can set the @theme-plugins like this use , to separate different plugin

set -g @theme-plugins '#{prefix_highlight},datetime'

btw, if you want to use this feature now and don't want to wait the PR to be merged, you can try my tmux-tokyo-night

set -g @plugin 'kallechen/tmux-tokyo-night'
fabioluciano commented 1 year ago

The PR got approved :D

webframp commented 1 year ago

Awesome work, thanks @KalleChen for the fix and @fabioluciano for a great theme!