diff --git a/README.md b/README.md index b3e66cee8..160a1975d 100644 --- a/README.md +++ b/README.md @@ -248,7 +248,20 @@ Set the key to a white space. ### Q: How can I display images on Windows? -As of April 2025: +#### Windows Terminal + +Windows Terminal supports the sixel image protocol only. + +```jsonc +{ + "logo": { + "type": "sixel", // DO NOT USE "auto" + "source": "C:/path/to/image.png", // ~ can be used to refer to the Windows user home directory + "width": , // Optional + "height": // Optional + } +} +``` #### mintty and Wezterm @@ -260,38 +273,7 @@ In `config.jsonc`: "logo": { "type": "iterm", "source": "C:/path/to/image.png", - "width": - } -} -``` - -#### Windows Terminal - -Windows Terminal supports the sixel image protocol only. - -* If you installed fastfetch through MSYS2: - 1. Install imagemagick: `pacman -S mingw-w64--x86_64-imagemagick` - 2. In `config.jsonc`: -```jsonc -{ - "logo": { - "type": "sixel", // DO NOT USE "auto" - "source": "C:/path/to/image.png", // Do NOT use `~` as fastfetch is a native Windows program and doesn't apply cygwin path conversion - "width": , // Optional - "height": // Optional - } -} -``` -* If you installed fastfetch via scoop or downloaded the binary directly from the GitHub Releases page: - 1. Convert your image manually to sixel format using [any online image conversion service](https://www.google.com/search?q=convert+image+to+sixel) - 2. In `config.jsonc`: -```jsonc -{ - "logo": { - "type": "raw", // DO NOT USE "auto" - "source": "C:/path/to/image.sixel", - "width": , // Required - "height": // Required + "width": } } ```