https://github.com/cappyzawa/tmux-tokyonight
https://github.com/cappyzawa/tmux-tokyonight
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cappyzawa/tmux-tokyonight
- Owner: cappyzawa
- License: mit
- Created: 2020-10-20T23:07:11.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-21T00:00:08.000Z (over 4 years ago)
- Last Synced: 2025-04-01T15:21:23.853Z (about 2 months ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tmux-tokyonight
The tokyonight color scheme for tmux, based on [ghifarit53/tokyonight-vim](https://github.com/ghifarit53/tokyonight-vim) which inspired by [enkia/tokyo-night-vscode-theme](https://github.com/enkia/tokyo-night-vscode-theme).

The implementation of this plugin is based on [odedlaz/tmux-tokyonight-theme](https://github.com/odedlaz/tmux-tokyonight-theme).
## How to install
This plugin can be installed by tpm.
```
set -g @plugin 'cappyzawa/tmux-tokyonight'
```or manual installation.
## How to setup
### Set Options
**!** Set the following options in your `.tmux.conf`
#### widgets
Widgets can be controlled by setting `@tokyonight_widgets`, for example:
```
set -g @tokyonight_widgets "#(date +%s)"
```Once set, these widgets will show on the right.
**default**: empty string.
#### Time format
Time format can be controlled by setting `@tokyonight_time_format`, for example:
```
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).
These modifiers were taken from from [strftime manpage](http://man7.org/linux/man-pages/man3/strftime.3.html).
#### Date format
Date format can be controlled by setting `@tokyonight_date_format`, for example:
```
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.
These modifiers were taken from from [strftime manpage](http://man7.org/linux/man-pages/man3/strftime.3.html).
### License
[MIT](LICENSE)