egel / tmux-gruvbox

Gruvbox color scheme for Tmux.
GNU General Public License v3.0
521 stars 128 forks source link

Doesn't work on Tmux 2.9 #6

Closed AndreaOrru closed 5 years ago

AndreaOrru commented 5 years ago
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:9: invalid option: window-status-bg
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:10: invalid option: window-status-fg
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:12: invalid option: window-status-activity-bg
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:13: invalid option: window-status-activity-fg
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:16: invalid option: window-status-current-bg
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:17: invalid option: window-status-current-fg
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:20: invalid option: pane-active-border-fg
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:21: invalid option: pane-border-fg
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:24: invalid option: message-bg
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:25: invalid option: message-fg
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:28: invalid option: message-command-bg
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:29: invalid option: message-command-fg
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:43: invalid option: status-attr
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:45: invalid option: status-left-attr
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:47: invalid option: status-right-attr
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:49: invalid option: window-status-activity-attr
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:50: invalid option: window-status-attr

I think the format has changed: https://fossies.org/diffs/tmux/2.8_vs_2.9/CHANGES-diff.html

GenkunAbe commented 5 years ago

I have the same problem.

The individual -fg, -bg and -attr options have been removed; they were superseded by -style options in tmux 1.9.

koalp commented 5 years ago

I tried to update the theme here : https://github.com/egel/tmux-gruvbox/pull/7

However, I don't understand what those attr "none" are doing, and when I tried to change it to style none, it doesn't work as expected.

egel commented 5 years ago

Thank you @koalp for the PR. I will take a look at it and try to patch it soon.

egel commented 5 years ago

Hey @koalp, you were interested in whatattr "none" is doing. Here you have a reference link from official man pages https://man.openbsd.org/tmux.1#STYLES

egel commented 5 years ago

I've provided a fixup last night. Let know guys if the solution from #8 is working for you @AndreaOrru, @GenkunAbe, and @koalp.