nix/home/config/tmux/module/Status.nix

30 lines
727 B
Nix

{ config, ... }: let
mod = "M";
accent = config.style.color.accent;
# bg = style.color.bg.dark;
fg = config.style.color.fg.light;
in {
text = ''
bind-key -n ${mod}-f set-option -g status;
set -g status-left-length 50
set -g status-position bottom
set -g status-justify left
set -g status-style "fg=#${fg}"
set -g status-left "#[bold] #H-#S "
set -g status-right ""
set-window-option -g window-status-separator ""
setw -g window-status-current-style "fg=#${accent} bold"
setw -g window-status-current-format " #W "
setw -g window-status-style ""
setw -g window-status-format " #W "
set-window-option -g visual-bell off
setw -g window-status-bell-style "bold blink"
'';
}