ctpv/sh/clear.sh
2022-06-19 18:03:39 +05:00

8 lines
177 B
Bash

setup_fifo 1
if use_ueberzug; then
printf '{"action": "remove", "identifier": "preview"}\n' > "$fifo"
elif use_kitty; then
kitty +kitten icat --clear --transfer-mode file
fi