rose-pine / tmux

Soho vibes for tmux
MIT License
135 stars 48 forks source link

Big / Breaking changes tracking issue #14

Open mrs4ndman opened 1 year ago

mrs4ndman commented 1 year ago

Hey everyone! Because of some changes to the plugin's options (mainly names and implementing a few new ones), I have decided to create this issue to post about some changes that might change (slightly) the option usage inside your .tmux.conf. You will be able to see these changes reflected soon in code and in the readme.md

  1. New default style for the window list (1- window, 2-window): It now defaults to the usual tmux window appearence, but the other aspects (the custom separator one + the pane directory one) are on separate options:
    
    set -g @rose_pine_default_window_behavior 'on' # Forces default behaviour, maintains custom colors
    set -g @rose_pine_show_current_program 'on' 
    # Show custom window separator and makes the window name default to the program running on the active pane
    set -g @rose_pine_show_pane_directory 'on' # Show current pane directory as window name

**NOTE**: there is a bug with the @rose_pine_show_current_program option, as it does not allow to view the custom window name on the window list itself, it just keeps showing the CWD.
The default behaviour for this menu:
![image](https://github.com/rose-pine/tmux/assets/121260905/97fb928a-2b4f-41b2-b41a-f3520d6920d1)
is to show the window name (regardless of other window settings), could add options (#12)  to change it, let me know if you want them implemented (not very difficult).
vblinden commented 1 year ago

Is there also a way to hide/disable the current program? I almost always have a "double" entry, for example:

image
mrs4ndman commented 1 year ago

Is there also a way to hide/disable the current program? I almost always have a "double" entry, for example:

Done, hope it helps! The option I just added (also in the readme) is this one:

set -g @rose_pine_disable_active_window_menu 'on' # Disables the menu that shows the active window on the left

If the plugin ends up with a few features more I might reformat the readme to fit them better

mrs4ndman commented 1 year ago

18 is up for debate:

:+1: if you want it :-1: if you don't I really don't think it is necessary, but if enough people want it, I wouldn't mind setting it