kitty: kitty-snap testing
This commit is contained in:
parent
a35083ff1e
commit
58fba557c5
1 changed files with 10 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, config, ... }:
|
{ lib, config, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
cfg = config.snowhawk.kitty;
|
cfg = config.snowhawk.kitty;
|
||||||
|
@ -27,7 +27,15 @@ in
|
||||||
allow_remote_control = "yes";
|
allow_remote_control = "yes";
|
||||||
};
|
};
|
||||||
|
|
||||||
extraConfig = "include ${../../home/kitty/alacritty-colors.conf}";
|
extraConfig =
|
||||||
|
let
|
||||||
|
kitten = "${pkgs.kitty}/bin/kitten";
|
||||||
|
in
|
||||||
|
''
|
||||||
|
include ${../../home/kitty/alacritty-colors.conf}
|
||||||
|
|
||||||
|
map ctrl+k ${pkgs.writeShellScript "kitten-snap" "${kitten} @ get-text --self --ansi > /tmp/test"}
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue