summaryrefslogtreecommitdiff
path: root/mac/.config/lf/cleaner
diff options
context:
space:
mode:
Diffstat (limited to 'mac/.config/lf/cleaner')
-rwxr-xr-xmac/.config/lf/cleaner4
1 files changed, 2 insertions, 2 deletions
diff --git a/mac/.config/lf/cleaner b/mac/.config/lf/cleaner
index a380dcd..a5f68d5 100755
--- a/mac/.config/lf/cleaner
+++ b/mac/.config/lf/cleaner
@@ -1,5 +1,5 @@
#!/bin/sh
-if [ -n "$FIFO_UEBERZUGPP" ]; then
- printf '{"action": "remove", "identifier": "PREVIEW"}\n' >"$FIFO_UEBERZUGPP"
+if command -v kitty >/dev/null 2>&1; then
+ kitty +kitten icat --silent --stdin no --transfer-mode file --clear >/dev/tty
fi