dotfiles

*nix config files
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

commit 2c0e40689b24703a0ed6d4acaacad069360e49af
parent 157b1d389c2482d1a416259529cc257562ce9297
Author: pyratebeard <root@pyratebeard.net>
Date:   Fri, 10 Jul 2020 21:44:53 +0100

new bond-device plugin

add new plugin to show active bond device, set plugin options. lengthen status-right. move plugins section down.

Diffstat:
Mtmux/.tmux.conf | 22++++++++++++++--------
1 file changed, 14 insertions(+), 8 deletions(-)

diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf @@ -88,21 +88,26 @@ setw -g mode-style fg=colour0,bg=colour6 setw -g aggressive-resize on # status bar -set -g status-justify right +set -g status-justify left set -g status-bg default set -g status-fg blue set -g status-interval 5 +set -g status-right-length 50 setw -g window-status-format "#[bg=default,fg=magenta] #I #[bg=default,fg=magenta] #W " setw -g window-status-current-format "#[bg=black,fg=cyan] #I #[bg=black,fg=cyan] #W " -set -g status-justify left -set-option -g status-right '#[bg=default,fg=magenta] #H #[default] #{online_status} #[bg=default,fg=colour12] %Y-%m-%d %H:%M #[default]' +set-option -g status-right '#[bg=default,fg=magenta] #H #[bg=default,fg=colour11]#{bond_device} #{online_status} #[bg=default,fg=colour12]%Y-%m-%d %H:%M #[default]' set-option -g status-left '' # online and offline icon for tmux-online-status set -g @online_icon "#[fg=green]online#[default]" set -g @offline_icon "#[fg=red]offline#[default]" +# tmux-bond-device plugin options +set -g @bond "" +set -g @ethernet "hardwire" +set -g @wifi "802.11" + # loud or quiet? set-option -g visual-activity on set-option -g visual-bell off @@ -124,11 +129,6 @@ bind Z previous-layout # toggle status bar visibility bind t set status -# plugins -# `mkdir -p ~/.tmux/plugins/ ; git clone 'https://github.com/tmux-plugins/tpm' ~/.tmux/plugins/tpm` -set -g @plugin 'tmux-plugins/tpm' -set -g @plugin 'tmux-plugins/tmux-online-status' - # see: toggle on/off all keybindings · Issue #237 · tmux/tmux - https://github.com/tmux/tmux/issues/237 # Also, change some visual styles when window keys are off bind-key -T root F12 \ @@ -142,5 +142,11 @@ bind-key -T root F11 \ setw -g window-status-current-format "#[bg=black,fg=cyan] #I #[bg=black,fg=cyan] #W " \;\ refresh-client -S +# plugins +# `mkdir -p ~/.tmux/plugins/ ; git clone 'https://github.com/tmux-plugins/tpm' ~/.tmux/plugins/tpm` +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-online-status' +set -g @plugin 'https://gitlab.com/pyratebeard/tmux-bond-device.git' + # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run -b '~/.tmux/plugins/tpm/tpm'