kore / home / features / cli / tmux.nix24 lines · 589B · raw
1{ outputs, ... }:
2
3let
4 c = outputs.palette.colors;
5in {
6 programs.tmux = {
7 enable = true;
8
9 prefix = "C-x";
10 terminal = "tmux-256color";
11 keyMode = "vi";
12 mouse = true;
13
14 extraConfig = ''
15 set -g status-style "bg=${c.bg},fg=${c.fg}"
16 set -g window-status-style "fg=${c.dim}"
17 set -g window-status-current-style "fg=${c.green}"
18 set -g pane-border-style "fg=${c.surface}"
19 set -g pane-active-border-style "fg=${c.green}"
20 set -g message-style "bg=${c.bgAlt},fg=${c.fg}"
21 set -g mode-style "bg=${c.surface},fg=${c.fg}"
22 '';
23 };
24}