tmux icon indicating copy to clipboard operation
tmux copied to clipboard

How do you add custom modules?

Open nebunebu opened this issue 1 year ago • 9 comments

Not sure how to get something like tmux-mode-indicator working with this?

https://github.com/MunifTanjim/tmux-mode-indicator

nebunebu avatar Dec 11 '23 22:12 nebunebu

I actually didn't think in the first place about integration with other plugins :smile:

It can be easily done tho :wink: Does something like this look cool? image I was thinking of (I know, too many options) 4 options, to allow you to append it / prepend it to the left / right of the current rose-pine status bar.

The config code for it would end up like this:

set -g @rose_pine_status_right_append_section '#{tmux_mode_indicator}'

Is it too complex? Might be. Is it featureful? I fear a little too much :smiley:

mrs4ndman avatar Dec 12 '23 08:12 mrs4ndman

Yeah, I think it looks good. I'd recommend append and prepend.

nebunebu avatar Dec 12 '23 16:12 nebunebu

Then the commit is getting sent :smile: :+1:

mrs4ndman avatar Dec 12 '23 19:12 mrs4ndman

Hey. Thanks for your job @mrs4ndman !

It seems to not working for tmux-pomodoro-plus The info is displayed very quick and after disappears.

Any clue to fix it ?

krichtof avatar Sep 22 '24 09:09 krichtof

Thanks for your job @mrs4ndman Same problem for me for tmux-pomodoro-plus, but also with tmux_mode_indicator. Info is displayed very quick but disappears after.

Hope you have an idea :)

krichtof avatar Dec 04 '24 00:12 krichtof

Thanks for your job @mrs4ndman Same problem for me for tmux-pomodoro-plus, but also with tmux_mode_indicator. Info is displayed very quick but disappears after.

Hope you have an idea :)

How are you putting this code into your tmux config? I have tried it like this and it works:

# Either this one
set -g @rose_pine_status_left_prepend_section '#{tmux_mode_indicator}'
# Or this one
set -g @rose_pine_status_right_append_section '#{tmux_mode_indicator}'

Both of those are valid, do send me either a link or paste here the relevant part of your tmux config so we can figure it out ;)

mrs4ndman avatar Dec 04 '24 08:12 mrs4ndman

Thanks for your job @mrs4ndman Same problem for me for tmux-pomodoro-plus, but also with tmux_mode_indicator. Info is displayed very quick but disappears after.

Hope you have an idea :)

The same problem. Even on empty config with only two plugins installed.

newvladimirov avatar Dec 11 '24 21:12 newvladimirov

set -g @rose_pine_status_left_prepend_section '#{tmux_mode_indicator} #{continuum_status} '

nebunebu avatar Dec 11 '24 22:12 nebunebu

@newvladimirov @krichtof Is it working or does it keep failing? Please do let me know so I can troubleshoot it further

mrs4ndman avatar Apr 16 '25 15:04 mrs4ndman