Skip to content

Commit

Permalink
fix(file-managers): overriding from correct source
Browse files Browse the repository at this point in the history
  • Loading branch information
luisnquin committed Mar 6, 2024
1 parent 9a70f27 commit 8300cf6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions home/modules/file-managers.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{pkgs, ...}: {
home.packages = [
(
super.ranger.overrideAttrs (
pkgs.ranger.overrideAttrs (
old: {
preConfigure =
old.preConfigure
+ ''
substituteInPlace ranger/ext/img_display.py \
--replace "Popen(['ueberzug'" \
"Popen(['${self.ueberzugpp}/bin/ueberzugpp'"
"Popen(['${pkgs.ueberzugpp}/bin/ueberzugpp'"
substituteInPlace ranger/config/rc.conf \
--replace 'set preview_images_method w3m' \
Expand All @@ -17,6 +17,6 @@
}
)
)
xfce.thunar
pkgs.xfce.thunar
];
}

0 comments on commit 8300cf6

Please sign in to comment.