summaryrefslogtreecommitdiff
path: root/lf/image
diff options
context:
space:
mode:
Diffstat (limited to 'lf/image')
-rw-r--r--lf/image18
1 files changed, 0 insertions, 18 deletions
diff --git a/lf/image b/lf/image
deleted file mode 100644
index 77ddb5b..0000000
--- a/lf/image
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env bash
-readonly ID_PREVIEW="preview"
-main() {
- case "$1" in
- "clear")
- declare -p -A cmd=([action]=remove [identifier]="$ID_PREVIEW") \
- > "$FIFO_UEBERZUG"
- ;;
- "draw")
- declare -p -A cmd=([action]=add [identifier]="$ID_PREVIEW" \
- [x]="$3" [y]="$4" [max_width]="$5" [max_height]="$6" \
- [path]="$2") > "$FIFO_UEBERZUG"
- ;;
- "*") echo "Unknown command: '$1', '$2'" ;;
- esac
-}
-main "$@"
-