diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-08-20 14:09:39 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-08-20 14:09:39 +0300 |
commit | e7e6239596bdad020a09d8404573fc8e6c6133c8 (patch) | |
tree | 684340b03584333e788d99b9d65fb32fbac0f099 /dotfiles/.local/bin | |
parent | 93129292fd45e4eb2d50f5f17a245ba9ee36480a (diff) | |
parent | 0ef2098ed7bc8de6e1443fd093201d7ec73054b5 (diff) | |
download | swayrice-e7e6239596bdad020a09d8404573fc8e6c6133c8.tar.gz swayrice-e7e6239596bdad020a09d8404573fc8e6c6133c8.zip |
Merge branch 'master' of git.yaroslavps.com:public/configs/swayrice
Diffstat (limited to 'dotfiles/.local/bin')
-rwxr-xr-x | dotfiles/.local/bin/scope | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dotfiles/.local/bin/scope b/dotfiles/.local/bin/scope index 5a6c157..b5fccda 100755 --- a/dotfiles/.local/bin/scope +++ b/dotfiles/.local/bin/scope @@ -47,6 +47,7 @@ handle_mime() { --style="${HIGHLIGHT_STYLE}" --force -- "${FILE_PATH}" ;; application/zip) unzip -l -- "${FILE_PATH}" ;; application/gzip) tar -ztf "${FILE_PATH}" ;; + application/x-xz) tar -Jtf "${FILE_PATH}" ;; application/x-rar) unrar lb -- "${FILE_PATH}" ;; video/* | audio/*|application/octet-stream) mediainfo "${FILE_PATH}" | awk -F':' '{ print $2 }' || exit 1;; image/*) exiftool "${FILE_PATH}";; |