2.0.0-beta
Pre-release
Pre-release
Fastfetch v2 ( currently in beta, will be changed to stable if no serious bug is found in this week ) introduces a new configuration file format: JSON config. Please refer to https://github.com/fastfetch-cli/fastfetch/wiki/Configuration for details.
Changes:
- Start with fastfetch v2, binaries are built with debug symbols (
RelWithDebInfo). That's why the image size bloats. - Drop the dependency of cJSON. We now use yyjson to parse JSON documents.
- Remove
--shell-versionand--terminal-version. They are always enabled (Terminal / Shell) - Remove
--*-error-format, which seems to be useless - Remove
--display-detect-name. Display name is always detected, and will be printed if multiple displays are detected - Deprecate
--setand--set-keyless; they may be removed in future releases. Use JSON config with Custom module instead - Remove the special handling of Command module (it can be set once in the triditional
config.conf). Use JSON config with Command module instead - Change
--wm-theme-*to--wmtheme-*. Affectkeyandformat(WMTheme) - Change
--terminal-font-*to--terminalfont-*. Affectkeyandformat(TerminalFont) - Module
Commanduses/bin/shas the default shell on systems other than Windows (Command) - Fix M2 CPU temperature detection (CPU, macOS)
- Detect monitor name when available, instead of using DRM connector name (Display / Brightness, Linux)
Features:
- FreeBSD support is improved greatly, and actually tested in a physical machine
- Add
--no-bufferoption for easier debugging. CMake optionENABLE_BUFFERis removed and always enabled. - Support
--*-key-coloroption to change the key color of specified module - Support
--colors-symboland--colors-padding-left(Colors) - Add LM (Login Manager) module. Currently requires systemd installed (thus Linux only)
- Add
--wmi-timeoutoption (Windows) - Add
--logo-type smallto search for small logos - Support detecting brightness of external displays with DDC/CI (guard behind
--allow-slow-operations) (Brightness) - Add option
--size-ndigitsand--size-max-prefix(#494) - Add option
--processing-timeoutto the timeout when waiting for child processes. - Public IP module prints the IP location if
--publicip-urlis not set (PublicIP) - Add option
--localip-default-route-only(LocalIP) - Add option
--weather-location(Weather) - Support iTerm non-ascii font detection (Terminal, macOS)
- Add option
--title-color-user,--title-color-atand--title-color-host(Title) - Add Exherbo logo and package manager count (Packages, Linux, #503)
- Add module
Terminal Sizewhich prints the number of terminal width and height in charactors and pixels (TerminalSize) - Add new option
--temperature-unit - Better CPU and Host detection for Android (Android)
- Support yakuake terminal version & font detection (Terminal, Linux)
- Add new option
--bright-colorwhich can be used to disable the default bright color of keys, title and ASCII logo. - Add module
Monitorwhich prints physical parameters (native resolutions and demensions) of connected monitors - Support path with environment variables for
--logo-sourceand--load-config.
Bugfixes:
- Fix possible hanging (TerminalFont, #493)
- Fix heap-buffer-overflow reading (DisplayServer, Linux)
- Fix false errors when built without libnm support (Wifi, Linux)
- Properly detect CPU on POWER (CPU, Linux)
- Fix compatibility with Fig (Terminal, macOS)
- Fix option
--title-fqdndoesn't work (Title) - Fix used spaces calculation (Disk, Linux / BSD / macOS, #508)
- Fix
--brightness-format(Brightness) - Fix specifying
--set-keylesswith the same key second time won't override the value set before (#517) - Fix specifying
--colorsecond time won't clear the value set before (#517)
Logo:
- Change the special handling of
kittyprotocol with.pngimage file to a new image protocolkitty-direct. This is the fastest image protocol because fastfetch doesn't need to pre-encode the image to base64 or something and the image content doesn't need to be transmitted via tty. Note:- Although konsole was said to support
kittyimage protocol, it doesn't supportkitty-direct - wezterm support more image formats other than
.png(tested with.jpgand.webp)
- Although konsole was said to support
- Port all logos supported by neo(wo)fetch. Fastfetch now has 350+ builtin logos in total.