https://gitlab.com/christosangel/basht
This tui file manager bash script, provides image preview, theme selection, smooth directory navigation, opening files with default and other programs and easy configuring of keybindings. It uses fzf
to navigate to and select files and directories. Image rendering can be done with the use of ueberzug, kitty terminal or chafa.
The script also provides content preview for directories, and text files:
As one can see in the screenshots, thanks to Nerd Fonts, each type of selection (directory, text file, office document, image file etc) is represented with the respective symbol.
Configuring of preferences can be done through editing a psv file.
Any feedback / suggestion will be appreciated.
You still need a terminal emulator capable of displaying images, though, right? Like Kitty, Allacrity won’t do the trick.
idk, i’ve heard that ranger works in alacritty with image previews, so this could too.
Kitty supports images, not sure about alacritty, although there are many competing protocols for image display in a terminal emulator, so it could be that it just doesn’t support a particular program.
Is there a reason to use this over Ranger? Nice work still
500 lines of bash script feels like one
rm -rf
away from disaster.Fear not, there are no scary commands in this script.