From f9f6716a38033fa2b602f31d31f40fb2738dd558 Mon Sep 17 00:00:00 2001 From: Emmet Date: Tue, 8 Aug 2023 21:35:00 -0500 Subject: [PATCH] Documented ranger patch --- user/pkgs/ranger.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/user/pkgs/ranger.nix b/user/pkgs/ranger.nix index c10b2cc..3228509 100644 --- a/user/pkgs/ranger.nix +++ b/user/pkgs/ranger.nix @@ -13,6 +13,8 @@ substituteInPlace ranger/config/rc.conf \ --replace "set preview_images false" "set preview_images true" + # adds this patch: https://github.com/ranger/ranger/pull/1758 + # fixes a bug for kitty users that use image previews substituteInPlace ranger/ext/img_display.py \ --replace "self.image_id -= 1" "self.image_id = max(0, self.image_id - 1)" '';