From ba2cc306d089364289b08a7f8dce948638f46b6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Fri, 2 Feb 2024 12:33:03 +0300 Subject: scope: tell chafa to be polite to lf --- dotfiles/.local/bin/scope | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/.local/bin/scope b/dotfiles/.local/bin/scope index de380ee..46b01a9 100755 --- a/dotfiles/.local/bin/scope +++ b/dotfiles/.local/bin/scope @@ -33,7 +33,7 @@ HIGHLIGHT_STYLE='pablo' handle_img() { if [ -n "$w" -a -n "$h" ]; then - chafa --animate off -s "${w}x${h}" $FILE_PATH | sed 's/#/\n#/g' + chafa --polite on --animate off -s "${w}x${h}" $FILE_PATH | sed 's/#/\n#/g' else exiftool "${FILE_PATH}" fi -- cgit v1.2.3