From 3b2f5559684ec04dbb2015f7977edd5beeac26a9 Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Thu, 21 Dec 2023 10:57:05 +0100 Subject: [PATCH] fix(tmux): icons and layout of tmux menu bar --- tmux/gitmux.conf | 6 +++--- tmux/tmux-nerd-font-window-name.yml | 3 +-- tmux/tmux.conf | 6 +++--- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/tmux/gitmux.conf b/tmux/gitmux.conf index dd836e9..183e262 100644 --- a/tmux/gitmux.conf +++ b/tmux/gitmux.conf @@ -1,15 +1,15 @@ tmux: symbols: branch: '  ' - hashprefix: ':' + hashprefix: ': ' ahead: ' ' behind: ' ' - staged: '󰉀' + staged: '󰉀 ' conflict: ' ' untracked: ' ' modified: ' ' stashed: ' ' - clean: '' + clean: ' ' styles: clear: '#[fg=default]' state: '#[fg=red,bold]' diff --git a/tmux/tmux-nerd-font-window-name.yml b/tmux/tmux-nerd-font-window-name.yml index 7f66a56..9d04f69 100644 --- a/tmux/tmux-nerd-font-window-name.yml +++ b/tmux/tmux-nerd-font-window-name.yml @@ -3,5 +3,4 @@ config: show-name: true icons: - fish: "🐠" - nvim: "📝" + sudo: "🔒" diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 1fc8623..cbc77f1 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -58,15 +58,15 @@ set -g pane-active-border-style "fg=white,bg=default" # Bar Left set -g status-left-length 100 set -ga status-left "#[fg=white,nobold] " -set -g status-left "#[fg=blue,bold] #S #(gitmux -timeout 500ms -cfg $HOME/.gitmux.conf)#[fg=white] ❭" # session name +set -g status-left "#[fg=blue,bold] #S #(gitmux -timeout 500ms -cfg $HOME/.gitmux.conf)#[fg=white] ❭ " # session name # Bar Right set -g status-right-length 100 set -g status-right "#{now_playing} " # Windows -set -g window-status-current-format "#[fg=magenta,bold,bg=default] #I#W#{?window_zoomed_flag,,} " +set -g window-status-current-format "#[fg=magenta,bold,bg=default] #I #W #{?window_zoomed_flag,,}" set -g window-status-separator "" -set -g window-status-format "#[fg=white,bg=default] #I#W#{?window_bell_flag,,} " +set -g window-status-format "#[fg=white,bg=default] #I #W #{?window_bell_flag,,}" # Change the default delay set -sg escape-time 0