1
0
Fork 0

remove reload after setting lf previewer

This commit is contained in:
Luca Bilke 2024-02-06 10:42:25 +01:00
parent dff7bdf034
commit c3c149e148

View file

@ -170,13 +170,13 @@ cmd extract ${{
cmd set_previewer %{{
if [ "${1}" = "sixel" ]; then
lf -remote "send $id :set sixel; set previewer ~/.config/lf/preview/sixel; reload"
lf -remote "send $id :set sixel; set previewer ~/.config/lf/preview/sixel"
echo 'Previewer set to sixel'
elif [ "${1}" = "ueberzug" ]; then
lf -remote "send $id :set cleaner ~/.config/lf/preview/clean; set previewer ~/.config/lf/preview/ueberzug; reload"
lf -remote "send $id :set cleaner ~/.config/lf/preview/clean; set previewer ~/.config/lf/preview/ueberzug"
echo 'Previewer set to ueberzug'
else
lf -remote "send $id :set previewer ~/.config/lf/preview/chafa; reload"
lf -remote "send $id :set previewer ~/.config/lf/preview/chafa"
echo 'Previewer set to chafa'
fi
}}