blob: 8525569461a90aa907545dfbf1eab2ff128f905f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
pkgs,
inputs,
lib,
config,
...
}: let
cfg = config.collinux.terminal.programs.tmux;
in {
imports = [
inputs.tmux-tsunami.hjemModules.tsunami
];
config = lib.mkIf cfg.enable {
tsunami = {
enable = true;
theme = {
bg = config.collinux.palette.base01;
bg_dark = config.collinux.palette.base00;
};
keys.leader = [
{
name = "Lazygit";
key = "C-g";
exec = "display-popup -E -w 80% -h 80% -x C -y C -d '#{?@default-path,#{@default-path},#{pane_current_path}}' ${lib.getExe pkgs.lazygit}";
}
];
confs."main" = ''
set -g mouse on
set-window-option -g mode-keys vi
'';
};
};
}
|