This is a Python script that makes it easier to display multiple images at once in kitty terminal. The program works on linux (haven't tested on MacOS)
- kitty
- python3
You can either just run the script like this python3 kitty-image-viewer.py /path/to/image.jpg
or move/copy it to /usr/local/bin/ (I called the shortcut img)
git clone https://github.com/Aadniz/kitty-image-viewer-simplified.git
cd kitty-image-viewer-simplified
sudo cp kitty-image-viewer.py /usr/local/bin/img
sudo chmod +x /usr/local/bin/img
- img /path/to/image.jpg
- img /path/to/image.png /path/to/other/image.jpeg
- img /path/to/images*
- img -f /path/to/image.jpg
- img --full /path/to/image.jpg
- img -m /path/to/image.jpg
- img --max /path/to/image.jpg
- img -b /path/to/image.jpg
- img --behind /path/to/image.jpg
- img -m -b /path/to/image.jpg
- img -c
- img --clear
- img -h
- img --help
Crappy code, bunch of if
, else
uhhh.
It works! and it works like it should (I believe)