remove reload after setting lf previewer
This commit is contained in:
parent
dff7bdf034
commit
c3c149e148
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
}}
|
||||
|
|
Loading…
Add table
Reference in a new issue