Great tmux theme.
Go to file
2021-08-04 10:43:30 +02:00
assets Resolve #10, custom segments 2021-08-04 10:43:30 +02:00
scripts Resolve #10, custom segments 2021-08-04 10:43:30 +02:00
.editorconfig Resolve #1, starting point 2021-07-16 15:49:18 +02:00
License Resolve #2, documentation 2021-07-19 10:49:25 +02:00
nova.tmux Resolve #1, starting point 2021-07-16 15:49:18 +02:00
Readme.md Resolve #10, custom segments 2021-08-04 10:43:30 +02:00

screenshot

Installation

Tmux Plugin Manager

Add this line in your .tmux.conf

set -g @plugin 'o0th/tmux-nova'

Hit Prefix + I to fetch the plugin and source it.

Manual

Clone the repository

git clone git@github.com:o0th/tmux-nova.git ~/.tmux/plugins/tmux-nova

Add this line in your .tmux.con

run-shell ~/.tmux/plugins/tmux-nova/nova.tmux

Reload TMUX

tmux source-file ~/.tmux.conf

Customizations

Themes

# one of: "dracula", "nord"; default: "dracula"
set -g @nova-theme "dracula"

Justify

# one of: "left", "right", "centre", "absolute-centre"; default: "left"
set -g @nova-status-justify "left"

Double

# one of: true, false; default: true
set -g @nova-double true

Nerdfonts

# one of: true, false; default: false
set -g @nova-nerdfonts false

Pane

# default: "#S:#I:#W"
set -g @nova-pane "#I#{?pane_in_mode,  #{pane_mode},}  #W"

Segments

set -g @nova-segments-left "mode"
set -g @nova-segments-right "whoami"

set -g @nova-double true
set -g @nova-segments-bottom-right "mode"
set -g @nova-segments-bottom-left "whoami"

Custom segments

Define a custom segment using a cli (e.g.: spotify-cli-liunx)

set -g @nova-segment-spotify "#(spotifycli --playbackstatus) #(spotifycli --status)"
set -g @nova-segment-spotify-colors "#282a36 #f8f8f2"

set -g @nova-segments-bottom-left "spotify"

Define a custom segment from another tmux plugin (e.g.: tmux-cpu)

set -g @plugin 'tmux-plugins/tmux-cpu'

set -g @cpu_percentage_format "%5.1f%%"
set -g @cpu_temp_format "%3.0f"
set -g @cpu_temp_unit "C"
set -g @nova-segment-cpu "CPU #(~/.tmux/plugins/tmux-cpu/scripts/cpu_percentage.sh) #(~/.tmux/plugins/tmux-cpu/scripts/cpu_temp.sh)"
set -g @nova-segment-cpu-colors "#282a36 #f8f8f2"

set -g @ram_percentage_format "%5.1f%%"
set -g @nova-segment-ram "RAM #(~/.tmux/plugins/tmux-cpu/scripts/ram_percentage.sh)"
set -g @nova-segment-ram-colors "#282a36 #f8f8f2"

set -g @gpu_percentage_format "%5.1f%%"
set -g @gpu_temp_format "%3.0f"
set -g @gpu_temp_unit "C"
set -g @nova-segment-gpu "GPU #(~/.tmux/plugins/tmux-cpu/scripts/gpu_percentage.sh) #(~/.tmux/plugins/tmux-cpu/scripts/gpu_temp.sh)"
set -g @nova-segment-gpu-colors "#282a36 #f8f8f2"

set -g @gram_percentage_format "%5.1f%%"
set -g @nova-segment-gram "GRAM #(~/.tmux/plugins/tmux-cpu/scripts/gram_percentage.sh)"
set -g @nova-segment-gram-colors "#282a36 #f8f8f2"

set -g @nova-segments-bottom-right "cpu ram gpu gram"