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

28 lines
709 B
Nix
Raw Normal View History

2024-06-25 04:04:39 +03:00
{ config, ... }: let
2024-06-29 18:05:39 +03:00
accent = config.style.color.accent;
2024-06-23 04:55:57 +03:00
# bg = style.color.bg.dark;
2024-06-29 18:05:39 +03:00
fg = config.style.color.fg.light;
2024-04-30 20:35:45 +03:00
in {
text = ''
bind-key -n M-f set-option -g status;
2024-06-23 06:43:45 +03:00
set -g status-left-length 50
2024-04-30 20:35:45 +03:00
set -g status-position bottom
set -g status-justify left
set -g status-style "fg=#${fg}"
set -g status-left "#[bold] #H-#S "
2024-05-07 15:00:02 +03:00
set -g status-right ""
2024-04-30 20:35:45 +03:00
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"
'';
}