This commit is contained in:
Miguel Palhas
2026-03-02 13:13:35 +00:00
parent 1e1238a6c1
commit 6385102d3d
2 changed files with 7 additions and 1 deletions
+1
View File
@@ -39,6 +39,7 @@
ktlint
croc
opencode
amp-cli
# typst
typst
+6 -1
View File
@@ -10,7 +10,12 @@
[filechooser]
cmd=${pkgs.writeShellScript "termfilechooser-yazi" ''
output="$1"
exec kitty -T termfilechooser yazi --chooser-file="$output"
chooser=$(mktemp)
kitty -T termfilechooser yazi --chooser-file="$chooser"
if [ -s "$chooser" ]; then
cat "$chooser" > "$output"
fi
rm -f "$chooser"
''}
default_dir=$HOME
'';