ctpv/sh/clear.sh

8 lines
177 B
Bash
Raw Normal View History

setup_fifo 1
2022-05-25 23:57:50 +02:00
2022-06-20 22:08:53 +02:00
if use_kitty; then
2022-06-19 15:03:39 +02:00
kitty +kitten icat --clear --transfer-mode file
2022-06-20 22:08:53 +02:00
elif use_ueberzug; then
printf '{"action": "remove", "identifier": "preview"}\n' > "$fifo"
2022-06-19 15:03:39 +02:00
fi