ctpv/sh/clear.sh
2022-06-21 01:08:53 +05:00

8 lines
177 B
Bash

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