finish switch to stylix

This commit is contained in:
Chris Kruining 2024-08-20 20:19:52 +02:00
parent 4dd4497139
commit f4774a6cae
10 changed files with 229 additions and 548 deletions

View file

@ -42,9 +42,7 @@ in
}
];
extraConfig = let
inherit (config.modules.themes.colors.main) normal types;
in ''
extraConfig = ''
# -------===[ Color Correction ]===------- #
set-option -ga terminal-overrides ",*256col*:Tc"
set-option -ga terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q'
@ -78,27 +76,6 @@ in
set-option -g status-left-length "40"
set-option -g status-right-length "80"
# Messages:
set-option -g message-style fg="${types.bg}",bg="${types.highlight}",align="centre"
set-option -g message-command-style fg="${types.bg}",bg="${types.highlight}",align="centre"
# Panes:
set-option -g pane-border-style fg="${types.fg}"
set-option -g pane-active-border-style fg="${types.border}"
# Windows:
set-option -g window-status-format "#[fg=${types.fg}] #W/#{window_panes} "
set-option -g window-status-current-format "#{?client_prefix,#[fg=${types.bg}]#[bg=${normal.red}] #I:#W #[fg=${normal.red}]#[bg=default],#[fg=${types.bg}]#[bg=${normal.magenta}] #I:#W #[fg=${normal.magenta}]#[bg=default]}"
# -------===[ Statusline ]===------- #
set-option -g status-left "#[fg=${types.bg}]#[bg=${normal.blue}]#[bold] #[fg=${normal.blue}]#[bg=default]"
set-option -g status-bg default
set-option -g status-right "#[italics] #H | %b %d, %H:%M #[fg=${types.bg},bg=${types.highlight},bold,italics] base-#S "
# -------===[ Clock & Selection ]===------- #
set-window-option -g clock-mode-colour "${types.border}"
set-window-option -g mode-style "fg=${types.bg} bg=${types.highlight} bold"
# -------===[ Keybindings ]===------- #
bind-key c clock-mode