1
0
mirror of https://github.com/o2sh/onefetch synced 2024-06-30 22:54:20 +00:00

#1341, update wiki

This commit is contained in:
o2sh 2024-05-10 11:42:09 +02:00
parent ed99fe2c89
commit df49072e27
No known key found for this signature in database
GPG Key ID: C2414BD0092379D8

View File

@ -1,12 +1,12 @@
Onefetch supports displaying images using [`kitty`](https://sw.kovidgoyal.net/kitty/graphics-protocol.html), [`Sixel`](https://en.wikipedia.org/wiki/Sixel) and [`iTerm`](https://www.iterm2.com/documentation-images.html).
Onefetch supports displaying images using [`kitty`](https://sw.kovidgoyal.net/kitty/graphics-protocol.html), [`Sixel`](https://en.wikipedia.org/wiki/Sixel) and [`iTerm`](https://www.iterm2.com/documentation-images.html) protocols.
<p align="center">
<img src="https://raw.githubusercontent.com/o2sh/onefetch/main/assets/screenshot-1.png" height="250px">
</p>
When running `onefetch --image ./My-picture.jpg`, the program looks for the first `Image Backend` supported by the terminal and use it to display the requested image instead of the Ascii logo.
When running `onefetch --image ./My-picture.jpg`, the program looks for the first `Image Protocol` supported by the terminal and use it to display the requested image instead of the Ascii logo.
If you decide to go manual, and want to force the use of a specific image backend --> `onefetch --image ./My-picture.jpg --image-backend sixel|kitty|iterm`
If you decide to go manual, and want to force the use of a specific image protocol: `onefetch --image ./My-picture.jpg --image-protocol sixel|kitty|iterm`
### Sixel
@ -20,4 +20,4 @@ The kitty terminal graphics protocol used on the terminal of the same name allow
### ITerm
The iTerm inline image protocol supported by iTerm2 (also WezTerm) allows to display images within the terminal.
The iTerm inline image protocol supported by iTerm2 (also WezTerm) allows to display images within the terminal.