kitty: kitty-snap testing

This commit is contained in:
Zynh Ludwig 2024-11-29 12:51:14 -08:00
parent a35083ff1e
commit 58fba557c5

View file

@ -1,4 +1,4 @@
{ lib, config, ... }:
{ lib, config, pkgs, ... }:
let
cfg = config.snowhawk.kitty;
@ -27,7 +27,15 @@ in
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"}
'';
};
};
}