update tmux to use 256colors, switch to tokyo-night for tmux

This commit is contained in:
Philipp 2024-07-09 22:43:48 +02:00
parent 7dc3dfa532
commit a395c388ff
Signed by: Philipp
GPG key ID: 9EBD8439AFBAB750

View file

@ -2,8 +2,11 @@
unbind r unbind r
bind r source-file ~/.tmux.conf bind r source-file ~/.tmux.conf
# General tmux settings # Setup 256bit color for all terminal emulators
set -g default-terminal "screen-256color" set -g default-terminal "screen-256color"
set -ag terminal-overrides ",alacritty:RGB,xterm-256color:RGB,gnome*:RGB"
# General tmux settings
set -g mouse on set -g mouse on
set -g status-interval 5 set -g status-interval 5
set -g status-position top set -g status-position top
@ -25,13 +28,15 @@ set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'dracula/tmux' set -g @plugin 'dracula/tmux'
set -g @plugin 'christoomey/vim-tmux-navigator' set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin "janoamaral/tokyo-night-tmux"
# Dracula customizations # Tokyo Night Customize
set -g @dracula-show-powerline true set -g @tokyo-night-tmux_window_id_style digital
set -g @dracula-plugins "ssh-session cpu-usage ram-usage time" set -g @tokyo-night-tmux_pane_id_style hsquare
set -g @dracula-show-flags true set -g @tokyo-night-tmux_zoom_id_style dsquare
set -g @dracula-show-empty-plugins false set -g @tokyo-night-tmux_show_datetime 1
set -g @dracula-show-left-icon window set -g @tokyo-night-tmux_date_format DMY
set -g @tokyo-night-tmux_time_format 24H
# Initialize TMUX plugin manager # Initialize TMUX plugin manager
run '~/.tmux/plugins/tpm/tpm' run '~/.tmux/plugins/tpm/tpm'