diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-11-17 16:44:07 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-11-17 16:44:07 -0500 |
| commit | c7e3d61753201d48835cdc819dcd6557bc2cffe7 (patch) | |
| tree | 5700fb5d11bd49f7d8919baa8d53af1b13d2a07b /.local/bin/vifmimg | |
| parent | 9df28899ded4ed4cd75c4fa05b8302f71ff8198d (diff) | |
| download | eibhear-c7e3d61753201d48835cdc819dcd6557bc2cffe7.tar.gz eibhear-c7e3d61753201d48835cdc819dcd6557bc2cffe7.tar.zst eibhear-c7e3d61753201d48835cdc819dcd6557bc2cffe7.zip | |
old script cleanout
Diffstat (limited to '.local/bin/vifmimg')
| -rwxr-xr-x | .local/bin/vifmimg | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/.local/bin/vifmimg b/.local/bin/vifmimg deleted file mode 100755 index 8fb8eed..0000000 --- a/.local/bin/vifmimg +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -[ -z "$FIFO_UEBERZUG" ] && exit - -readonly ID_PREVIEW="preview" - -if [ "$1" = "draw" ]; then - declare -p -A cmd=([action]=add [identifier]="$ID_PREVIEW" [x]="$2" [y]="$3" [max_width]="$4" [max_height]="$5" [path]="${PWD}/$6") > "$FIFO_UEBERZUG" -elif [ "$1" = "videopreview" ]; then - [ ! -f "/tmp/$6.png" ] && ffmpegthumbnailer -i "${PWD}/$6" -o "/tmp/$6.png" -s 0 -q 10 && - declare -p -A cmd=([action]=add [identifier]="$ID_PREVIEW" [x]="$2" [y]="$3" [max_width]="$4" [max_height]="$5" [path]="/tmp/$6.png") > "$FIFO_UEBERZUG" -else - declare -p -A cmd=([action]=remove [identifier]="$ID_PREVIEW") > "$FIFO_UEBERZUG" -fi |
