This is an plugin that applying the tmux themes maintained by me.
This plugin is compatible with Tmux plugin manager(TPM)
- This is tested on CentOS7 and CentOS 8.
- Network bandwith part
- Requires
- awk (GNU awk)
- netstat (dnf install -y net-tools)
- numfmt
- Reference
- Requires
Installation with Tmux Plugin Manager (recommended)
Requirements: tmux
version 3.0 (or higher), bash
.
Add plugin to the list of TPM plugins in .tmux.conf
:
set -g @plugin 'charlietag/tmux-themes'
Hit prefix + I
to fetch the plugin and source it.
Enjoy your tmux's new look !
Clone the repo:
$ git clone https://github.com/charlietag/tmux-themes.git ~/clone/path
Add this line to the bottom of .tmux.conf
:
run-shell ~/clone/path/theme.tmux
Reload TMUX environment:
# type this in terminal
$ tmux source-file ~/.tmux.conf
Enjoy your tmux's new look !
There might be more themes in the future.
Here are all available options with their default values:
@theme-loading-cpu-mem 'on' # [ on | off]
@theme-network-bandwith 'on' # [ on | off]
@theme-dark-mode 'on' # [ on | off] , default off
@theme-dard-mode-bindkey 'T' # [ -r T | M-s | -n F11 ] , this is for toggle theme dark mode, define yourself just like bind-key
Don't forget to reload tmux environment ($ tmux source-file ~/.tmux.conf
)
after you do this.
Sample config in ~/.tmux.conf
set -g @plugin 'charlietag/tmux-themes'
set -g @theme-loading-cpu-mem 'on' # [ on | off] , default: on
set -g @theme-network-bandwith 'on' # [ on | off] , default: on
set -g @theme-dark-mode 'on' # [ on | off] , default off
set -g @theme-dard-mode-bindkey 'T' # [ -r T | M-s | -n F11 ] , this is for toggle theme dark mode, define yourself just like bind-key
-
List clients and kill clients (works with status-left bar "Clients ▶▶▶ x")
<prefix> + D
- .tmux.conf - Tmux configuration sample by CharlieTag
- tmux-split-statusbar - a plugin for spliting status bar into 2 parts (lines) : windoow , status-left/status-right
- tmux-cpu-model - a plugin for fetching cpu info of the server, and counting cpu cores.
- 2020/07/01
- https://github.com/charlietag/tmux-themes/compare/v0.0.0...v0.0.2
- Complete dark mode toggle function
- Fully Compatible
- https://github.com/charlietag/tmux-themes/compare/v0.0.0...v0.0.2
- 2020/10/21
- https://github.com/charlietag/tmux-themes/compare/v0.0.2...v0.0.3
- change non-active panel background color. 256color from 234 -> 236
- https://github.com/charlietag/tmux-themes/compare/v0.0.2...v0.0.3
- 2020/10/22
- https://github.com/charlietag/tmux-themes/compare/v0.0.3...v0.0.4
- tweak for background color
- https://github.com/charlietag/tmux-themes/compare/v0.0.3...v0.0.4
- 2020/10/23
- https://github.com/charlietag/tmux-themes/compare/v0.0.4...v0.0.5
- Change tmux active pane border to light orange and thicker, for more readable
- https://github.com/charlietag/tmux-themes/compare/v0.0.4...v0.0.5
- 2020/10/30
- https://github.com/charlietag/tmux-themes/compare/v0.0.5...v0.0.6
- change non-active panel background color. 256color from 237 -> 234
- https://github.com/charlietag/tmux-themes/compare/v0.0.5...v0.0.6
- 2022/10/09
- https://github.com/charlietag/tmux-themes/compare/v0.0.6...v0.0.7
- Fix status bar - os version (rhel 9 does not support lsb_release command)
- https://github.com/charlietag/tmux-themes/compare/v0.0.6...v0.0.7
- 2022/10/18
- https://github.com/charlietag/tmux-themes/compare/v0.0.7...v0.0.8
- Fix logged on count number for screen and tmux
- https://github.com/charlietag/tmux-themes/compare/v0.0.7...v0.0.8
- 2023/01/13
- https://github.com/charlietag/tmux-themes/compare/v0.0.8...v0.0.9
- xargs -i is deprecated, use -I{} instead
- https://github.com/charlietag/tmux-themes/compare/v0.0.8...v0.0.9