📦 Installation via TPM (recommended)
-
Add plugin to the list of TPM plugins in
.tmux.conf
:set -g @plugin 'jeircul/tmux-tokyonight-theme'
-
Use prefix–I to install
tmux-tokyonight-theme
. -
When you want to update
tmux-tokyonight-theme
use prefix–U.
📦 Manual Installation
- Clone the repo:
git clone https://github.com/jeircul/tmux-tokyonight-theme ~/.config/tmux/plugins/
- Add this line to the bottom of
.tmux.conf
:run-shell ~/.config/tmux/plugins/tmux-tokyonight-theme/tmux-tokyonight-theme.tmux
- Use prefix–R to Reload TMUX environment
Widgets
set -g @tokyonight_widgets "#(date +%s)"
- Once set, these widgets will show on the right.
- default: empty string.
Time format
set -g @tokyonight_time_format "%I:%M %p"
%I
- The hour as a decimal number using a 12-hour clock%M
- The minute as a decimal number%p
- Either "AM" or "PM" according to the given time value.- default:
%R
- The time in 24-hour notation (%H:%M).
Note These modifiers were taken from from strftime manpage.
Date format
set -g @tokyonight_date_format "%D"
%D
- Equivalent to %m/%d/%y (American format).%m
- The month as a decimal number.%d
- The day of the month as a decimal number%y
- The year as a decimal number without the century.- default:
%d/%m/%Y
- The date in non-American format.
Note These modifiers were taken from from strftime manpage.
Symbols are missing
- The theme requires Powerline symbols exist and set on your system. Follow these instructions to install them, then update your terminal fonts to use them.
Symbols are corrupted
- Patched Powerline fonts aren't picked up when
$LANG
isn't set toen_US
. You can change the default locale settings at/etc/default/locale
.
Widgets not working
- Make sure that you put the
set -g @plugin 'jeircul/tmux-tokyonight-theme'
before other scripts that alter the status line, or they won't be able to pickup the plugin's changes.
True Color
- Make sure TrueColor is enabled and working. follow these instructions to do so.