Skip to content

Commit

Permalink
Fix broken tmux configurations
Browse files Browse the repository at this point in the history
The syntax for some tmux styling has changed from deprecated to removed
as referenced by this GitHub issue.
tmux/tmux#1689 (comment)

Here's the FAQ on the style update.
https://github.com/tmux/tmux/wiki/FAQ#how-do-i-translate--fg--bg-and--attr-options-into--style-options

Here's the `man` page on the styles.
https://man.openbsd.org/tmux.1#STYLES
  • Loading branch information
Salvatore Testa committed Jun 3, 2019
1 parent de6c6d2 commit 470e3f7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -78,18 +78,18 @@ set-window-option -g display-panes-time 1500
set-option -g status-interval 1
set-option -g status-left ''
set-option -g status-right '%l:%M%p'
set-window-option -g window-status-current-fg magenta
set-option -g status-fg default
set-window-option -g window-status-current-style fg=magenta
set-option -g status-style fg=default

# Status Bar solarized-dark (default)
set-option -g status-bg black
set-option -g pane-active-border-fg black
set-option -g pane-border-fg black
set-option -g status-style bg=black
set-option -g pane-active-border-style fg=black
set-option -g pane-border-style fg=black

# Status Bar solarized-light
if-shell "[ \"$COLORFGBG\" = \"11;15\" ]" "set-option -g status-bg white"
if-shell "[ \"$COLORFGBG\" = \"11;15\" ]" "set-option -g pane-active-border-fg white"
if-shell "[ \"$COLORFGBG\" = \"11;15\" ]" "set-option -g pane-border-fg white"
if-shell "[ \"$COLORFGBG\" = \"11;15\" ]" "set-option -g status-style bg=white"
if-shell "[ \"$COLORFGBG\" = \"11;15\" ]" "set-option -g pane-active-border-style fg=white"
if-shell "[ \"$COLORFGBG\" = \"11;15\" ]" "set-option -g pane-border-style fg=white"

# Set window notifications
setw -g monitor-activity on
Expand Down

0 comments on commit 470e3f7

Please sign in to comment.