mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2025-03-15 07:29:12 +01:00
Fix: forcekittyanim doesn't clear images
This commit is contained in:
parent
d883ff6a34
commit
dd9d29b797
12
sh/clear.sh
12
sh/clear.sh
@ -1,10 +1,6 @@
|
||||
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
|
||||
[ "$image_method" = "$image_method_ueberzug" ] &&
|
||||
printf '{"action": "remove", "identifier": "preview"}\n' > "$fifo"
|
||||
|
||||
is_kitty && kitty +kitten icat --clear --transfer-mode file
|
||||
|
Loading…
Reference in New Issue
Block a user