nix/home/file/tmux/module/Status.nix

30 lines
702 B
Nix

{
config,
...
}: let
accent = config.module.style.color.accent;
fg = config.module.style.color.fg.light;
in {
text = ''
bind-key -n M-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 #[default]"
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"
'';
}