Tmux : Update style.
This commit is contained in:
parent
19e660dee4
commit
4c3bc70373
|
@ -70,21 +70,26 @@ bind -n M-g choose-session
|
||||||
set -g window-size smallest
|
set -g window-size smallest
|
||||||
|
|
||||||
# Statusbar.
|
# Statusbar.
|
||||||
|
set -g status-interval 2
|
||||||
set -g status-position bottom
|
set -g status-position bottom
|
||||||
set -g status-justify left
|
set -g status-justify centre
|
||||||
set -g status-style 'bg=color236 fg=color187'
|
set -g status-style 'bg=color236 fg=color187'
|
||||||
set -g status-left ' #H-#S #(count=$(tmux list-clients -t #S | wc -l); [ ${count} -gt 1 ] && echo "(${count}) ")'
|
|
||||||
set -g status-right '#[fg=color187,bg=color239] #(head -c -1 /sys/class/power_supply/BAT*/capacity 2> /dev/null && echo -n "% ")%Y-%m-%d %H:%M '
|
set -g status-left ' #[bold]#H-#S #(count=$(tmux list-clients -t #S | wc -l); [ ${count} -gt 1 ] && echo "(${count}) ")'
|
||||||
set -g status-right-length 50
|
|
||||||
set -g status-left-length 50
|
set -g status-left-length 50
|
||||||
|
set -g status-right '#[fg=color187,bg=color239] #(head -c -1 /sys/class/power_supply/BAT*/capacity 2> /dev/null && echo -n "% ")%Y-%m-%d #[bold]%H:%M '
|
||||||
|
set -g status-right-length 50
|
||||||
|
|
||||||
setw -g window-status-current-style 'fg=black bg=color143 bold'
|
setw -g window-status-current-style 'fg=black bg=color143 bold'
|
||||||
setw -g window-status-current-format ' #I#[fg=black]:#[fg=black]#W#[fg=black]#F '
|
setw -g window-status-current-format ' #[fg=black]#W#[fg=black] '
|
||||||
|
|
||||||
setw -g window-status-style 'fg=black bg=color138'
|
setw -g window-status-style 'fg=black bg=color138'
|
||||||
setw -g window-status-format ' #I#[fg=black]:#[fg=black]#W#[fg=black]#F '
|
setw -g window-status-format ' #[fg=black]#W#[fg=black] '
|
||||||
|
|
||||||
setw -g window-status-bell-style 'fg=black bg=white bold'
|
setw -g window-status-bell-style 'fg=black bg=white bold'
|
||||||
|
|
||||||
# SSH fixes.
|
# Selection style.
|
||||||
|
set -g mode-style 'fg=black,bg=yellow bold'
|
||||||
|
|
||||||
|
# Update environment from client.
|
||||||
set-option -g update-environment "SSH_CLIENT SSH_TTY DOCKER_CONFIG DOCKER_HOST DISPLAY XAUTHORITY"
|
set-option -g update-environment "SSH_CLIENT SSH_TTY DOCKER_CONFIG DOCKER_HOST DISPLAY XAUTHORITY"
|
||||||
|
|
Reference in a new issue