mirror of
https://github.com/librephoenix/nixos-config
synced 2025-07-06 06:52:13 +05:30
Ranger dnd optimization + qb filepicker
This commit is contained in:
parent
4e86fb971a
commit
49b0f04fda
4 changed files with 21 additions and 1 deletions
|
@ -17,9 +17,16 @@
|
|||
# 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)"
|
||||
|
||||
# fixes the .desktop file
|
||||
substituteInPlace doc/ranger.desktop \
|
||||
--replace "Terminal=true" "Terminal=false"
|
||||
substituteInPlace doc/ranger.desktop \
|
||||
--replace "Exec=ranger" "Exec=kitty -e ranger %U"
|
||||
'';
|
||||
});
|
||||
}
|
||||
)
|
||||
];
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue