Skip to content
This repository has been archived by the owner on Aug 28, 2022. It is now read-only.

brneor/tmux-flat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tmux Flat Theme

TPM

License

This is a work in progress

A flat tmux theme based on tmux-power and inspired by kanagawa colors.

📥 Installation

Install manually

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

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

NOTE: Options should be set before sourcing.

Install using TPM

set -g @plugin 'brneor/tmux-flat'

⚙ Customizing

You can change the date and time formats using strftime:

set -g @tmux_flat_date_format '%F'
set -g @tmux_flat_time_format '%T'

You can also customize the icons:

set -g @tmux_flat_date_icon ' ' # set it to a blank will disable the icon
set -g @tmux_flat_time_icon '🕘' # emoji can be used if your terminal supports
set -g @tmux_flat_user_icon 'U'
set -g @tmux_flat_session_icon 'S'
set -g @tmux_flat_upload_speed_icon ''
set -g @tmux_flat_download_speed_icon ''
set -g @tmux_flat_left_arrow_icon '<'
set -g @tmux_flat_right_arrow_icon '>'

The default icons use glyphs from nerd-fonts.

📦 Plugin support

tmux-net-speed

set -g @tmux_flat_show_upload_speed true
set -g @tmux_flat_show_download_speed true

tmux-prefix-highlight

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

tmux-mode-indicator

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

You should avoid using this plugin alongside with tmux-prefix-highlight to avoid redundancy, as tmux-mode-indicator is also capable of highlighting prefix.

📃 License

MIT (c) Wenxuan Zhang

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%