ranger: fix out-of-the-box previews
I'm guessing this became commented out by default at some point.
This commit is contained in:
parent
46651b82b8
commit
4f14ccee07
@ -36,7 +36,7 @@ python3Packages.buildPythonApplication rec {
|
|||||||
|
|
||||||
# give file previews out of the box
|
# give file previews out of the box
|
||||||
substituteInPlace ranger/config/rc.conf \
|
substituteInPlace ranger/config/rc.conf \
|
||||||
--replace "set preview_script ~/.config/ranger/scope.sh" "set preview_script $out/share/doc/ranger/config/scope.sh"
|
--replace "#set preview_script ~/.config/ranger/scope.sh" "set preview_script $out/share/doc/ranger/config/scope.sh"
|
||||||
'' + optionalString imagePreviewSupport ''
|
'' + optionalString imagePreviewSupport ''
|
||||||
substituteInPlace ranger/ext/img_display.py \
|
substituteInPlace ranger/ext/img_display.py \
|
||||||
--replace /usr/lib/w3m ${w3m}/libexec/w3m
|
--replace /usr/lib/w3m ${w3m}/libexec/w3m
|
||||||
|
Loading…
x
Reference in New Issue
Block a user