Last active
October 22, 2022 20:43
-
-
Save jvmvik/822ce32b09f3245b106d24506a27bb4e to your computer and use it in GitHub Desktop.
Tmux 2.5 configuration file to add a nice header at the top
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Tmux 2.5 configuration file | |
| # | |
| # ~/.tmux.conf | |
| # | |
| # Enable scrooling with the mouse | |
| # | |
| # e-tmux-scrolling-in-iterm2/ | |
| set-window-option -g mode-mouse on | |
| set-option -g mouse-select-pane on | |
| set-option -g mouse-select-window on | |
| set-window-option -g aggressive-resize | |
| # Interface | |
| #------------ | |
| # pane | |
| #------------ | |
| set -g mouse-select-pane on | |
| set -g pane-border-fg black | |
| set -g pane-active-border-fg blue | |
| #------------ | |
| # tabs | |
| #------------ | |
| setw -g window-status-format "#[fg=white]#[bg=blue] #I #[bg=blue]#[fg=white] #W " | |
| setw -g window-status-current-format "#[bg=brightmagenta]#[fg=white] *#I #[fg=white,bold]#[bg=cyan] [#W] " | |
| setw -g window-status-content-attr bold,blink,reverse | |
| #------------ | |
| # status bar | |
| #------------ | |
| set-option -g status-position top | |
| set -g status-fg white | |
| set -g status-bg blue | |
| set -g status-left '' | |
| set -g status-right-length 60 | |
| set -g status-right '♪ #(exec amixer get Master | egrep -o "[0-9]+%" | egrep -o "[0-9]*") | ♥#(acpi | cut -d ',' -f 2) | %a %m-%d %H:%M' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment