mirror of
https://codeberg.org/JasterV/dotfiles.git
synced 2026-04-26 18:40:04 +00:00
11 lines
349 B
Bash
Executable file
11 lines
349 B
Bash
Executable file
paths=$(yazi --chooser-file=/dev/stdout | while read -r; do printf "%q " "$REPLY"; done)
|
|
|
|
if [[ -n "$paths" ]]; then
|
|
zellij action toggle-floating-panes
|
|
zellij action write 27 # send <Escape> key
|
|
zellij action write-chars ":open $paths"
|
|
zellij action write 13 # send <Enter> key
|
|
zellij action toggle-floating-panes
|
|
fi
|
|
|
|
zellij action close-pane
|