nix/module/common/tmux/module/Status.nix

30 lines
712 B
Nix
Raw Normal View History

2024-06-23 04:55:57 +03:00
{ style, ... }: let
mod = "M";
2024-04-30 20:35:45 +03:00
accent = style.color.accent;
2024-06-23 04:55:57 +03:00
# bg = style.color.bg.dark;
2024-04-30 20:35:45 +03:00
fg = style.color.fg.light;
in {
text = ''
2024-06-23 04:55:57 +03:00
bind-key -n ${mod}-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"
'';
}