Skip to content

wfxr/tmux-power

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
February 22, 2021 19:25
November 25, 2019 20:14

Tmux Powerline Theme

TPM Awesome License

Yet another powerline theme for tmux.

πŸ“₯ Installation

Install manually

Clone the repo somewhere and source it in .tmux.conf:

run-shell "/path/to/tmux-power.tmux"

NOTE: Options should be set before sourcing.

Install using TPM

set -g @plugin 'wfxr/tmux-power'

🎨 Themes

Gold(default): set -g @tmux_power_theme 'gold' screenshot

Redwine: set -g @tmux_power_theme 'redwine' screenshot

Moon: set -g @tmux_power_theme 'moon' screenshot

Forest: set -g @tmux_power_theme 'forest' screenshot

Violet: set -g @tmux_power_theme 'violet' screenshot

Snow: set -g @tmux_power_theme 'snow' screenshot

Coral: set -g @tmux_power_theme 'coral' screenshot

Sky: set -g @tmux_power_theme 'sky' screenshot

Default: set -g @tmux_power_theme 'default' Set this theme if you want to honor the terminal colorscheme. To be used with something like pywal for instance.

βš™ Customizing

You can define your favourite main color if you don't like any of above.

set -g @tmux_power_theme '#483D8B' # dark slate blue

You can change the date and time formats using strftime:

set -g @tmux_power_date_format '%F'
set -g @tmux_power_time_format '%T'

You can also customize the icons:

set -g @tmux_power_date_icon ' ' # set it to a blank will disable the icon
set -g @tmux_power_time_icon 'πŸ•˜' # emoji can be used if your terminal supports
set -g @tmux_power_user_icon 'U'
set -g @tmux_power_session_icon 'S'
set -g @tmux_power_upload_speed_icon '↑'
set -g @tmux_power_download_speed_icon '↓'
set -g @tmux_power_left_arrow_icon '<'
set -g @tmux_power_right_arrow_icon '>'

The default icons use glyphs from nerd-fonts.

πŸ“¦ Plugin support

tmux-net-speed

set -g @tmux_power_show_upload_speed true
set -g @tmux_power_show_download_speed true

tmux-prefix-highlight

# 'L' for left only, 'R' for right only and 'LR' for both
set -g @tmux_power_prefix_highlight_pos 'LR'

tmux-web-reachable

set -g @tmux_power_show_web_reachable true

πŸ”— Other plugins

You might also find these useful:

πŸ“ƒ License

MIT (c) Wenxuan Zhang