ctpv/sh/clear.sh
2022-06-23 16:54:23 +05:00

11 lines
224 B
Bash

setup_image 1
case "$image_method" in
"$image_method_ueberzug")
printf '{"action": "remove", "identifier": "preview"}\n' > "$fifo"
;;
"$image_method_kitty")
kitty +kitten icat --clear --transfer-mode file
;;
esac