Closed murtaza-u closed 3 years ago
Seems like the cleaner script is not executed on set nopreview
. Manually calling it solves the issue.
set preview
cmd showpreview &{{
lf -remote "send $id set preview"
lf -remote "send $id set ratios 1:2:3"
lf -remote "send $id map zp nopreview"
}}
cmd nopreview &{{
lf -remote "send $id set nopreview"
lf -remote "send $id set ratios 1:3"
lf -remote "send $id map zp showpreview"
~/.config/lf/cleaner
}}
map zp nopreview
https://user-images.githubusercontent.com/75304812/129073848-7eade374-f59e-4b2b-a814-87ea0eb99dcb.mp4
Both the cleaner and previewer is set to the path to the respective script