diff options
| author | krolxon <krolyxon@tutanota.com> | 2025-09-14 17:46:37 +0530 |
|---|---|---|
| committer | krolxon <krolyxon@tutanota.com> | 2025-09-14 17:46:37 +0530 |
| commit | 92e2da70f0d8231fedced88074ef707b359e8222 (patch) | |
| tree | 4959f6404a37dab29e8c237e995872ccf374cc13 /.config/lf/scope | |
| parent | a8246b3bdefb6bf96b6cac7c7c4ef2a3b9f2383f (diff) | |
remove yazi, use lf
Diffstat (limited to '.config/lf/scope')
| -rwxr-xr-x | .config/lf/scope | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/lf/scope b/.config/lf/scope new file mode 100755 index 0000000..11e54e1 --- /dev/null +++ b/.config/lf/scope @@ -0,0 +1,9 @@ +#!/bin/sh +case "$(file -Lb --mime-type -- "$1")" in + image/*) + chafa -f sixel -s "$2x$3" --animate off --polite on -t 1 --bg black "$1" + ;; + text/*) + bat "$1" + ;; +esac |
