2024-02-06 06:24:31 +00:00
|
|
|
{ pkgs, lib, inputs, config, osConfig, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
programs.tmux = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
terminal = "tmux-256color";
|
|
|
|
keyMode = "vi";
|
|
|
|
mouse = true;
|
2024-03-27 02:23:55 +00:00
|
|
|
prefix = "C-a";
|
|
|
|
escapeTime = 1;
|
2024-02-06 06:24:31 +00:00
|
|
|
|
2024-02-06 06:40:43 +00:00
|
|
|
sensibleOnTop = false;
|
|
|
|
|
2024-02-06 06:24:31 +00:00
|
|
|
extraConfig = ''
|
|
|
|
set -g status-right '"#T"'
|
2024-04-01 05:40:51 +00:00
|
|
|
set-hook -g session-created 'set -F status-style "#{?#{==:#{DANGER},},bg=#262626 fg=#cccccc,bg=#e45555 fg=#000000}"'
|
2024-02-06 06:24:31 +00:00
|
|
|
set-hook -g window-linked 'set -F status "#{?#{==:#{session_windows},1},off,on}"'
|
|
|
|
set-hook -g window-unlinked 'set -F status "#{?#{==:#{session_windows},1},off,on}"'
|
|
|
|
|
|
|
|
|
2024-03-27 02:23:55 +00:00
|
|
|
set -ga terminal-overrides ",alacritty*:RGB"
|
2024-02-06 06:24:31 +00:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|