OneDark theme for Tmux. This is basically a copy-paste of the catpuccin tmux theme as I loved the layout of it, but with some color changes to look more like OneDark Nvim.
- 🌕 dark
- Install TPM
- Add the OneDark plugin:
set -g @plugin 'heuristicAL/tmux-atom-onedark'
# ...alongside
set -g @plugin 'tmux-plugins/tpm'
- (Optional) Set your preferred flavour, it defaults to
"dark"
:
Currenty, we only have ONE flavor, should change later.
set -g @onedark_flavour 'dark' # or dark, dark, dark 🙃
- Copy your desired theme's configuration contents into your Tmux config (usually stored at
~/.tmux.conf
) - Reload Tmux by either restarting the session or reloading it with
tmux source-file ~/.tmux.conf
All flavours support certain levels of customization. To add these customizations, add any of the following options to your Tmux configuration.
In order to have the correct icons displayed please use your favorite nerd fonts patched font.
By default, the theme places the window-status
in the status-right
. With
@onedark_window_tabs_enabled
set to on
, the theme will place the
directory within the status-right
and move the window names to the
window-status
format variables.
set -g @onedark_window_tabs_enabled on # or off to disable window_tabs
By default, the theme will use a round separator for left and right.
To overwrite it use @onedark_left_separator
and @onedark_right_separator
set -g @onedark_left_separator "█"
set -g @onedark_right_separator "█"
By default, the date_time
componenet is set to off.
It can be enabled by specifing any tmux date and time format.
set -g @onedark_date_time "%Y-%m-%d %H:%M"
By default, the user
componenet is set to off.
It can be enabled by toggoling it on.
set -g @onedark_user "on"
By default, the host
componenet is set to off.
It can be enabled by toggoling it on.
set -g @onedark_host "on"
By default, we set the status-left
variable to an empty string.
You can change this to whatever you like by using the onedark_left_status
variable.
set -g @onedark_left_status "#{battery_status_bg} Batt: #{battery_icon} #{battery_percentage} #{battery_remain}"
By default, we set the tmux status-justify
variable to left
.
If you would like to change that, just set the onedark_status_justify
.
It accepts the same values as status-justify
set -g @onedark_status_justify "centre"
- Pocco81 and anyone else involved in Catpuccin 😊