1.8Kпросмотров
11 февраля 2026 г.
📷 ФотоScore: 2.0K
🖼 WezTerm and mc for viewing images I've recently started using excellent WezTerm. It is fast, feature-rich and runs in Linux, macOS, Windows. After some configuration it looks and runs just fine. When I was using Windows, my go-to file manager was Total Commander. Under Linux and macOS I've used console mostly but sometimes for sorting photos and freeing up space mc was super-helpful. WezTerm can display images with its imgcat so I've decided to make these two work together. mc.ext is what mc uses when opening a file with F3. We forward all png and jpg to mc-img.sh. The shell script takes care of forwarding names to imgcat and adding keyboard navigation to view next/previous and first/last images. https://github.com/samdark/dotfiles/tree/master/.config/mc #shell #bash #mc #wezterm