aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-08-05 05:37:57 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-08-05 05:37:57 +0300
commitbddebc4144b1262d40d6fd26d5e98aeb51b0202f (patch)
tree0e3b0e6752e8056376c8eb95ac08b5ff570645a1 /dotfiles/.local/bin
parente6f62e8c5445c121adbfde76b037fd712cd2a1cd (diff)
parentc82c45a89f0e63c9fb7e82e6cda9abcaed04057f (diff)
downloadswayrice-bddebc4144b1262d40d6fd26d5e98aeb51b0202f.tar.gz
swayrice-bddebc4144b1262d40d6fd26d5e98aeb51b0202f.zip
Merge branch 'master' of git.yaroslavps.com:public/configs/swayrice
Diffstat (limited to 'dotfiles/.local/bin')
-rwxr-xr-xdotfiles/.local/bin/scope2
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/.local/bin/scope b/dotfiles/.local/bin/scope
index d3041c1..5a6c157 100755
--- a/dotfiles/.local/bin/scope
+++ b/dotfiles/.local/bin/scope
@@ -34,7 +34,7 @@ handle_mime() {
case "${mimetype}" in
text/html) w3m -dump "${FILE_PATH}" ;;
text/troff) man ./ "${FILE_PATH}" | col -b ;;
- text/* | */xml | */csv)
+ text/* | */xml | */csv | */json)
if [ "$( stat --printf='%s' -- "${FILE_PATH}" )" -gt "${HIGHLIGHT_SIZE_MAX}" ]; then
exit 2
fi