diff --git a/modules/tmux/default.nix b/modules/tmux/default.nix index 8fd4fac..ac76c48 100644 --- a/modules/tmux/default.nix +++ b/modules/tmux/default.nix @@ -73,7 +73,9 @@ in keyMode = "vi"; escapeTime = 0; plugins = with pkgs; [ - tmux-current-pane-hostname + { + plugin = tmux-current-pane-hostname; + } { plugin = tmux-compile; extraConfig = '' @@ -105,7 +107,7 @@ in set -g status-position top set -g status-style bg=#1d202f,fg=white set -g status-left "" - set -g status-right "#[bg=default,fg=magenta]>> #S << #[bg=default,fg=white]#{hostname_short} " + set -g status-right "#[bg=default,fg=magenta]>> #S << #[bg=default,fg=white]#H " set-window-option -g window-status-style 'fg=magenta,bg=#1d202f' set-window-option -g window-status-format ' #I #[fg=white]#W #[fg=cyan]#F ' set-window-option -g window-status-current-style "fg=black,bg=magenta"