greenhouse

kore

my public infrastructure monorepo

git clone [email protected]:kore.git

kore / home / features / cli / tmux.nix23 lines · 571B · 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
13    extraConfig = ''
14      set -g status-style "bg=${c.bg},fg=${c.fg}"
15      set -g window-status-style "fg=${c.dim}"
16      set -g window-status-current-style "fg=${c.green}"
17      set -g pane-border-style "fg=${c.surface}"
18      set -g pane-active-border-style "fg=${c.green}"
19      set -g message-style "bg=${c.bgAlt},fg=${c.fg}"
20      set -g mode-style "bg=${c.surface},fg=${c.fg}"
21    '';
22  };
23}