Commit Graph

96 Commits

Author SHA256 Message Date
Dominique Leuenberger
08ec69be49 Accepting request 1192765 from utilities
- update to 2.21.1
  Changes:
   * On Linux, FreeBSD and SunOS, a new recommended dependency 
     libelf` is introduced to extract strings in ELF binary, used for
    - st term font detection when the term font is compiled directly into the binary
    - fast path of systemd version detection
  Features:
   * Improve performance of
    - kitty version detection (Terminal, Linux)
    - st term font detection (TerminalFont, Linux)
    - systemd version detection (InitSystem, Linux)
  Bugfixes:
    - Fix building error without `linux/wireless.h` (Wifi, Linux)
    - Fix wrong GPU max frequency on Asahi Linux (GPU, Linux)
    - Don't rely `$XDG_SESSION_TYPE` for detecting wm protocol (WM, Linux)
    - Fix light color doesn't work on Linux console (Colors, Linux)
    - `LC_ALL`, if set, overrides every other locale-related environment variable (Locale)
    - Increase timeout of DBus calls (Linux)

OBS-URL: https://build.opensuse.org/request/show/1192765
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fastfetch?expand=0&rev=39
2024-08-09 14:15:58 +00:00
Gordon Leung
c8964f9e01 - update to 2.21.1
Changes:
   * On Linux, FreeBSD and SunOS, a new recommended dependency 
     libelf` is introduced to extract strings in ELF binary, used for
    - st term font detection when the term font is compiled directly into the binary
    - fast path of systemd version detection
  Features:
   * Improve performance of
    - kitty version detection (Terminal, Linux)
    - st term font detection (TerminalFont, Linux)
    - systemd version detection (InitSystem, Linux)
  Bugfixes:
    - Fix building error without `linux/wireless.h` (Wifi, Linux)
    - Fix wrong GPU max frequency on Asahi Linux (GPU, Linux)
    - Don't rely `$XDG_SESSION_TYPE` for detecting wm protocol (WM, Linux)
    - Fix light color doesn't work on Linux console (Colors, Linux)
    - `LC_ALL`, if set, overrides every other locale-related environment variable (Locale)
    - Increase timeout of DBus calls (Linux)

OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=95
2024-08-09 03:26:34 +00:00
Dominique Leuenberger
b494403fa0 Accepting request 1191774 from utilities
OBS-URL: https://build.opensuse.org/request/show/1191774
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fastfetch?expand=0&rev=38
2024-08-06 07:08:20 +00:00
Gordon Leung
3889c192d6 Accepting request 1191630 from home:RN:branches:utilities
- update to 2.21.0
  Changes:
     * We no longer use libnm for Wifi detection on Linux. Instead, we 
       use libdbus to communicate with NetworkManager directly
        - To package managers: libnm dependency should be removed
  Features:
     * Add module `BluetoothRadio` that prints bluetooth radios installed on 
       the system
        - Don't confuse with module `Bluetooth` which lists connected 
          bluetooth devices
     * Detect more information when `--gpu-driver-specific` is used (GPU)
     * Detect which type of nvidia driver (open source or proprietary) is 
       used (GPU, Linux)
     * `--gpu-driver-specific` adds supports for Moore Threads GPU (GPU, 
       Linux / Windows)
     * Use SetupAPI for detecting GPUs to support GPU detection when running 
       fastfetch as a Windows Service (GPU, Windows)
        - See https://github.com/gpustack/gpustack/pull/97#issuecomment-2264699787 
          for detail
     * Detect playback status (Media, Linux)
  Bugfixes:
     * Don't try to connect display server in tty mode (Linux)
     * Improve ssh detection
     * Fix max frequency printing in custom format (CPU)
     * Fix displaying random characters when detecting kitty term font 
       (TerminalFont, Linux)
     * Make sure to detect all physical memory devices 
     * Don't detect `wl-restart` as WM (WM, Linux)
     * Use PCI bus ID to match Nvidia cards; fix multi-GPU detection (GPU)
     * Ignore invalid GPU (GPU, macOS)
     * Print error when invalid color code is found 
     * Fix invalid refresh rate detection on old macOS versions (Display, macOS)
     * Fix disk size detection on 32-bit systems (Disk, BSD)
     * Don't ignore disabled GPUs (GPU, Linux)
     * Fix GPU type detection on FreeBSD (GPU, FreeBSD)
     * Remove shell version detection for unknown shells (Shell)
     * Don't detect hyfetch as shell on NixOS (Shell, NixOS)
  Logos:
     * Update EndeavourOS_small
     * Add QTS

OBS-URL: https://build.opensuse.org/request/show/1191630
OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=93
2024-08-05 23:16:50 +00:00
Dominique Leuenberger
0cb4c23067 Accepting request 1189857 from utilities
OBS-URL: https://build.opensuse.org/request/show/1189857
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fastfetch?expand=0&rev=37
2024-07-28 15:19:39 +00:00
Soc Virnyl Estela
26484379fa - updaet to 2.20.0
Changes:
     * JSON option `display.keyWidth` has been renamed to `display.key.width`
        - Previously: `{ "display": { "keyWidth": 3 } }`
        - Now: `{ "display": { "key": { "width": 3 } } }`
     * Windows Terminal font detection in WSL has been removed
   Features: 
     * Add option `display.key.type: <enum>` to print icons in keys 
        - Supported value string, icon and both. Default to string (don't 
          display icons)
        - Example: `{ "display": { "key": { "type": "icon" } } }`
     * Add option `display.key.paddingLeft: <num>` to print left padding 
       (whitespaces) in keys
        - Example: `{ "display": { "key": { "paddingLeft": 2 } } }`
     * Add option modules.keyIcon to set icon for specified module
        - Example: `{ "modules": { "type": "command", "keyIcon": "🔑" } }`
     * Report system mono font name for Terminator if used (TerminalFont, 
       Linux)
     * Don't require logo height to be set when using `--logo-position right`
     * Report Snapdragon SOC marketing name for newer Android phones (CPU, 
       Android)
     * Detect MTK SOC part name (CPU, Android)
   Bugfixes: 
     * Don't wake up suspended GPUs when using `--ds-force-drm` (Display,
       Linux)
     * Fix printing editor type in JSON result (Editor)
     * Fix `--logo-padding-*` not working correctly (Logo)
     * Fix possible segfault when detecting GPU frequency (macOS, GPU)

OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=91
2024-07-27 01:54:34 +00:00
Dominique Leuenberger
1c65b76589 Accepting request 1189420 from utilities
OBS-URL: https://build.opensuse.org/request/show/1189420
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fastfetch?expand=0&rev=36
2024-07-25 13:39:19 +00:00
Gordon Leung
0bb9f757ca - update to 2.19.1
Bugfixes:
     * Fix frequency value printing when using custom format (CPU / GPU)
     * Fix display detection for XiaoMi Android phone (Display, Android)
   Features:
     * Detect if HDR mode is enabled for screens (Display) 
        - Supported in Windows and Linux (KDE) currently
- update to 2.19.0
   Changes:
     * JSON option `modules.cpu.freqNdigits` has been renamed and moved to 
       `display.freq.ndigits`
        - Previously: `{ "modules": { "type": "cpu", "freqNdigits": 2 } }`
        - Now: `{ "display": { "freq": { "ndigits": 2 } } }`
        - This option now affects GPU frequency too
        - By default, frequencies are displayed in GHz. Set 
          `display.freq.ndigits` to `-1` to display them in MHz
     * JSON option `display.binaryPrefix` has been moved to 
       `display.size.binaryPrefix`
        - Previously: `{ "display": { "binaryPrefix": "IEC" } }`
        - Now: `{ "display": { "size": { "binaryPrefix": "IEC" } } }`
   Features:
     * Print physical diagonal length if supported (Display)
     * Detect display type in X11 mode (Display)
     * Assume displays connected via DisplayPort are external monitors 
       (Display, Linux)
     * Support GPU frequency detection for Intel XE driver (GPU, Linux)
     * Detect init system on Android (InitSystem, Android)
     * Use background to display color blocks (Colors)
        - To fix weird vertical black lines in some terminals and match the 
          behavior of neofetch
        - Can be reverted to old behavior with `--colors-symbol block` 
     * Support Zed terminal version detection (Terminal)
     * Improve wezterm font detection (TerminalFont)
     * Add option `--separator-length`
     * Support GPU frequency detection for Apple Silicon (GPU, macOS)
     * Detect maximum refresh rate 
     * Detect if HDR mode is supported and enabled (Windows, Display / Monitor)
     * Support physical monitor info detection for FreeBSD and SunOS (Monitor)
     * Support defining constant strings in JSON config file, which can be used 
       to dedupe formattion strings
   Bugfixes: 
     * Fix some presets
     * Better detection for XTerm terminal fonts (TerminalFont, Linux)
     * Remove debug output (Windows)
     * Fix command line option --gpu-hide-type doesn't work (GPU)
     * Fix wrong date on Raspbian 10 (DateTime, Linux)
     * Use `brightness` instead of `actuall_brightness` when detecting current 
       brightness level (Brightness, Linux) 
        - Ref: https://bugzilla.kernel.org/show_bug.cgi?id=203905
     * Fix buffer overflow with long font family names when detecting kitty term 
       font (TerminalFont)
     * Fix some typos
   Logos:
     * Update void_small
     * Add ALT Linux

OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=89
2024-07-24 13:59:37 +00:00
Ana Guerrero
d78c3eeb47 Accepting request 1186733 from utilities
- update to 2.18.1
   Changes:
     * --ts-version has been renamed to --detect-version
        - general.detectVersion in JSON config file
   Bugfixes:
     * Fix and improve GPU driver detection (GPU, Linux)

- update to 2.18.0
   Changes:
     * Fastfetch no longer prints * (which means it's the default route)
       if defaultRouteOnly is set (LocalIP)
   Bugfixes:
     * Fix some memory leaks
     * Fix compatibility with old Python versions
     * Don't detect frequency for AMD cards (GPU, Linux)
        - Fix possible hang with discrete AMD cards (#1077)
     * Don't print colors in --pipe mode (Separator)
     * Don't print (null) in property locator (PhysicalMemory)
     * Ignore disabled PCI devices (GPU)
     * Fix flag --opengl-library doesn't work (OpenGL)
   Features:
     * Detect revision of USB drives (Disk)
     * Support fractional scale factor detection (Display, Linux)
     * Support primary display detection for KDE and GNOME (Display, Linux)
     * Support percent bar in custom formatting
     * Print signal quality by default (Wifi)
     * Detect used OpenGL library version (OpenGL)

OBS-URL: https://build.opensuse.org/request/show/1186733
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fastfetch?expand=0&rev=35
2024-07-11 18:30:27 +00:00
Gordon Leung
4b5fc69a62 - update to 2.18.1
Changes:
     * --ts-version has been renamed to --detect-version
        - general.detectVersion in JSON config file
   Bugfixes:
     * Fix and improve GPU driver detection (GPU, Linux)

OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=87
2024-07-11 05:14:43 +00:00
Gordon Leung
6b9e82d714 - update to 2.18.0
Changes:
     * Fastfetch no longer prints * (which means it's the default route)
       if defaultRouteOnly is set (LocalIP)
   Bugfixes:
     * Fix some memory leaks
     * Fix compatibility with old Python versions
     * Don't detect frequency for AMD cards (GPU, Linux)
        - Fix possible hang with discrete AMD cards (#1077)
     * Don't print colors in --pipe mode (Separator)
     * Don't print (null) in property locator (PhysicalMemory)
     * Ignore disabled PCI devices (GPU)
     * Fix flag --opengl-library doesn't work (OpenGL)
   Features:
     * Detect revision of USB drives (Disk)
     * Support fractional scale factor detection (Display, Linux)
     * Support primary display detection for KDE and GNOME (Display, Linux)
     * Support percent bar in custom formatting
     * Print signal quality by default (Wifi)
     * Detect used OpenGL library version (OpenGL)

OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=86
2024-07-10 11:45:10 +00:00
Ana Guerrero
78755da254 Accepting request 1185429 from utilities
- update to 2.17.2
   Changes:
    * Flatpak package count no longer includes runtime packages (Packages, Linux)
   Bugfixes:
    * Fix formattion with multiple batteries (Battery)
    * Fix incorrect size value for large memory sticks (PhysicalMemory)
    * Fix spelling of Qt and LXQt
    * Fix typos
   Features:
    * Support Ptyxis terminal version and font detection (Terminal / TerminalFont, Linux)
    * Improve Cinnamon version detection (DE)
    * Support cinnamon-wayland (WMTheme)
    * --ts-version false will disable editor version detection (Editor)

OBS-URL: https://build.opensuse.org/request/show/1185429
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fastfetch?expand=0&rev=34
2024-07-05 17:47:20 +00:00
Gordon Leung
f8160eafe4 - update to 2.17.2
Changes:
    * Flatpak package count no longer includes runtime packages (Packages, Linux)
   Bugfixes:
    * Fix formattion with multiple batteries (Battery)
    * Fix incorrect size value for large memory sticks (PhysicalMemory)
    * Fix spelling of Qt and LXQt
    * Fix typos
   Features:
    * Support Ptyxis terminal version and font detection (Terminal / TerminalFont, Linux)
    * Improve Cinnamon version detection (DE)
    * Support cinnamon-wayland (WMTheme)
    * --ts-version false will disable editor version detection (Editor)

OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=84
2024-07-04 16:54:54 +00:00
Ana Guerrero
81a8cb1fd6 Accepting request 1183911 from utilities
OBS-URL: https://build.opensuse.org/request/show/1183911
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fastfetch?expand=0&rev=33
2024-06-29 13:18:30 +00:00
Gordon Leung
ac30b08402 - update to 2.17.1
Bugfixes:
    * Don't generate and install libffwinrt.dll.a on MinGW (Windows)
    * Fix building on Windows when imagemagick support is enabled (Logo, Windows) 
    * Don't print GPU frequency with --gpu-temp for Nvidia cards (#1052, GPU) 
      -  --gpu-driver-specific needs to be specified
    * Print formatted size when --gpu-format is used (#1052, GPU)
    * Ignore QVariant format; fix unreadable Qt font (#1053, Theme, Linux)
    * Fix segfaults with --show-errors and an invalid module (#1055)
 - update to 2.17.0
   Changes:
    * CMake option ENABLE_PROPRIETARY_GPU_DRIVER_API is removed. The GPU driver APIs 
      are now enabled by default. 
      - The option was introduced to reduce the license concerns. Since all non MIT 
        proprietary code has been rewritten manually from scratch, it is no longer necessary.
      - See #533 (comment) for detail
    * Option --logo-separate true is changed to --logo-position top for better readability
      - Builtin ascii logos can be positioned on the right side now with --logo-position right
   Features:
    * Add support for --gpu-detection-method opencl which uses OpenCL to detect GPUs.
    * Support detecting CPU cache size by using SMBIOS as fallback (CPUCache)
    * Support GPU detection (SunOS)
    * Support GPU type detection with AMD GPU driver (GPU, Windows)
    * Add fast path of version and font detection for kitty (Terminal / TerminalFont)
    * Make sure stdin and stdout are TTYs when querying terminal 
     - So modules like TerminalSize should work when stdin or stdout is redirected
    * Support argument truncation in --<module>-format (#1043) 
     - See fastfetch --help format for detail
    * Improve Qt theme detection (#1047, Theme, Linux)
    * Add new JSON config option general.preRun, which is executed before fastfetch prints output. 
     - It can be used to generate a temp logo file. For example
   Bugfixes:
    * Fix invalid path (#1031, LM, Linux)
    * Fix VMEM detection for Nvidia GPU (requires --gpu-driver-specific) (GPU)
    * Fix AMD --gpu-driver-specific for AMD cards (#1032, GPU, Windows)
    * Use Coordinated Universal Time rather than timezone-varying local date (#1046)
   Logo: 
    * Fix colors of Asahi Linux

OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=82
2024-06-29 04:15:37 +00:00
Ana Guerrero
6c536fe617 Accepting request 1181769 from utilities
- update to 2.16.0
   Changes:
    * Fastfetch now prefers `/etc/os-release` over `/etc/lsb-release` when detecting distro info. 
     - This may break some distros (notably some debian based distros).
       File a bug with the content of `os-release` and `lsb-release` if it breaks your distro.
   Features:
    * Add new option `--users-myself-only` to display current login user only (Users)
    * Add new module `DNS` to show active DNS servers (DNS)
    * Add new option `--loadavg-compact`. Defaults to true (Loadavg)
     - Use `--loadavg-compact false` to display load averages in different lines
    * Detect MTU size (LocalIP)
    * Support version detection of pluma, which is the default editor of OpenIndiana (Editor)
    * Print used OGL library, eg EGL, GLX or OSMesa (OpenGL)
   Bugfixes:
    * Report error if cache size is unavailable (CPUCache, Android)
    * Trim white spaces in device name (Sound, Linux)
    * Fix `display.bar.border{Left,Right}` doesn't work in JSON config files (Config)
    * Fix invalid call to `realpath(3)` (Platform, Linux)

OBS-URL: https://build.opensuse.org/request/show/1181769
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fastfetch?expand=0&rev=32
2024-06-20 14:47:32 +00:00
Gordon Leung
2cc5306e0c - update to 2.16.0
Changes:
    * Fastfetch now prefers `/etc/os-release` over `/etc/lsb-release` when detecting distro info. 
     - This may break some distros (notably some debian based distros).
       File a bug with the content of `os-release` and `lsb-release` if it breaks your distro.
   Features:
    * Add new option `--users-myself-only` to display current login user only (Users)
    * Add new module `DNS` to show active DNS servers (DNS)
    * Add new option `--loadavg-compact`. Defaults to true (Loadavg)
     - Use `--loadavg-compact false` to display load averages in different lines
    * Detect MTU size (LocalIP)
    * Support version detection of pluma, which is the default editor of OpenIndiana (Editor)
    * Print used OGL library, eg EGL, GLX or OSMesa (OpenGL)
   Bugfixes:
    * Report error if cache size is unavailable (CPUCache, Android)
    * Trim white spaces in device name (Sound, Linux)
    * Fix `display.bar.border{Left,Right}` doesn't work in JSON config files (Config)
    * Fix invalid call to `realpath(3)` (Platform, Linux)

OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=80
2024-06-19 14:39:54 +00:00
Ana Guerrero
ec0f20b760 Accepting request 1179399 from utilities
- add pkgconfig(DirectX-Headers) to BuildRequires
 * This ensures that correect GPU info is shown when used by WSL

- update to 2.15.0
   Changes:
    * --bar-border <?bool> has been changed to --bar-border-left <string>
      and --bar-border-right <string>, which are used for customizing the style of bar border.
     -  --bar-border-left '' --bar-border-right '' can be used to disable the border
   Features:
    * Add ability to skip installing license with INSTALL_LICENSE option (CMake)
    * Make it possible to shorten the theme and icons output (Theme / Icons)
    * Support -l '?' to show a question mark (Logo)
    * Add new module CPUCache to display CPU cache sizes (CPUCache)
    * In --<module>-format, {#keys} and {#title} can be used to reference the color of keys and title
    * Improve speed of Guix package detection (Packages, Linux)
    * Assume wm plugins are daemon processes to improve performance (WM, macOS)
   Bugfixes:
    * Remove shebangs from completions (#980)
    * Fix white chars not visible in terminal of light theme (Logo)
    * Normalize bright colors to fix color display in Apple Terminal (#991, Colors)
    * Correctly capitalize GNOME (#997, DE, Linux)
    * Fix segfault on system using turkish language (#995, InitSystem, Linux)
    * Fix kubuntu detection (#1000, OS, Linux)
    * Don't display duplicate entries (OS, Linux)

OBS-URL: https://build.opensuse.org/request/show/1179399
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fastfetch?expand=0&rev=31
2024-06-09 18:22:10 +00:00
Gordon Leung
75292a8bbf OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=78 2024-06-07 20:34:21 +00:00
Gordon Leung
f7deac1543 OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=77 2024-06-07 20:31:12 +00:00
Gordon Leung
f98fe4c0f7 - add pkgconfig(DirectX-Headers) to BuildRequires
* This ensures that correect GPU info is shown when used by WSL

OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=76
2024-06-07 19:40:53 +00:00
Gordon Leung
47b4c608ff Accepting request 1179348 from home:RN:branches:utilities
- update to 2.15.0
   Changes:
    * --bar-border <?bool> has been changed to --bar-border-left <string>
      and --bar-border-right <string>, which are used for customizing the style of bar border.
     -  --bar-border-left '' --bar-border-right '' can be used to disable the border
   Features:
    * Add ability to skip installing license with INSTALL_LICENSE option (CMake)
    * Make it possible to shorten the theme and icons output (Theme / Icons)
    * Support -l '?' to show a question mark (Logo)
    * Add new module CPUCache to display CPU cache sizes (CPUCache)
    * In --<module>-format, {#keys} and {#title} can be used to reference the color of keys and title
    * Improve speed of Guix package detection (Packages, Linux)
    * Assume wm plugins are daemon processes to improve performance (WM, macOS)
   Bugfixes:
    * Remove shebangs from completions (#980)
    * Fix white chars not visible in terminal of light theme (Logo)
    * Normalize bright colors to fix color display in Apple Terminal (#991, Colors)
    * Correctly capitalize GNOME (#997, DE, Linux)
    * Fix segfault on system using turkish language (#995, InitSystem, Linux)
    * Fix kubuntu detection (#1000, OS, Linux)
    * Don't display duplicate entries (OS, Linux)

OBS-URL: https://build.opensuse.org/request/show/1179348
OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=75
2024-06-07 19:18:01 +00:00
Ana Guerrero
ff5182b34a Accepting request 1177809 from utilities
- update to 2.14.0
   Features:
    * Support monochrome bar type
    * Apply default color palettes in --file and --data (Logo)
    * Support named variable placeholders in custom module formattion string
     - --title-format '{user-name-colored}{at-symbol-colored}{host-name-colored}'
       is equivalent to --title-format '{6}{7}{8}'
    * Support named color placeholders in custom module formattion string
     - --<module>-format '{#red}' is equivalent to --<module>-format '{#31}'
     - '{#red}' or '{#31}' is preferred over \u001b[31m because is more readable
       and --pipe aware (will be ignored in pipe mode)
     - Supported in Custom module too
     - See fastfetch -h format for detail
    * Add new module InitSystem, which detects the name of init system
     - i.e. process name of pid1. init, systemd, etc
    * Add option --color-separator to set the color of key-value separators
    * Print error reason when vulkan init fails (Vulkan)
   Bugfixes:
    * Don't detect .conf files in --list-config-paths
    * Fix outputColor doesn't work if module keys are disabled

OBS-URL: https://build.opensuse.org/request/show/1177809
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fastfetch?expand=0&rev=30
2024-05-31 20:17:01 +00:00
Gordon Leung
e121608ffa - update to 2.14.0
Features:
    * Support monochrome bar type
    * Apply default color palettes in --file and --data (Logo)
    * Support named variable placeholders in custom module formattion string
     - --title-format '{user-name-colored}{at-symbol-colored}{host-name-colored}'
       is equivalent to --title-format '{6}{7}{8}'
    * Support named color placeholders in custom module formattion string
     - --<module>-format '{#red}' is equivalent to --<module>-format '{#31}'
     - '{#red}' or '{#31}' is preferred over \u001b[31m because is more readable
       and --pipe aware (will be ignored in pipe mode)
     - Supported in Custom module too
     - See fastfetch -h format for detail
    * Add new module InitSystem, which detects the name of init system
     - i.e. process name of pid1. init, systemd, etc
    * Add option --color-separator to set the color of key-value separators
    * Print error reason when vulkan init fails (Vulkan)
   Bugfixes:
    * Don't detect .conf files in --list-config-paths
    * Fix outputColor doesn't work if module keys are disabled

OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=73
2024-05-30 20:47:24 +00:00
Ana Guerrero
ed217712a4 Accepting request 1176874 from utilities
- update to 2.13.2:
   Bugfixes:
    - Remove DRM driver version detection feature,
      which caused a performance regression for nouveau drivers (Display, Linux)
    - Don't use *-unknown as display name for Wayland protocol (Display, Linux)
   Features:
    - Add new module Editor which prints editor settings, i.e. $VISUAL or $EDITOR

OBS-URL: https://build.opensuse.org/request/show/1176874
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fastfetch?expand=0&rev=29
2024-05-27 09:55:19 +00:00
Gordon Leung
b6e3701ffb - update to 2.13.2:
Bugfixes:
    - Remove DRM driver version detection feature,
      which caused a performance regression for nouveau drivers (Display, Linux)
    - Don't use *-unknown as display name for Wayland protocol (Display, Linux)
   Features:
    - Add new module Editor which prints editor settings, i.e. $VISUAL or $EDITOR

OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=71
2024-05-25 16:48:37 +00:00
Ana Guerrero
c7f52fdfcd Accepting request 1175960 from utilities
- update to 2.13.1:
   Changes:
    * The long deprecated flag based config files are removed.
     - They can still be used with xargs fastfetch < /path/to/config.conf
     - --gen-config can be used to migrate them to json based config files
    * The long deprecated options --set and --set-keyless are removed.
    * Kernel module now prints kernel name by default
   Features:
    * Support st terminal font detection for font configuration compiled in st binary (TerminalFont, Linux)
    * Add option --color-output to change output color of all modules except Title, Separator
        display.color.output in JSONC config file
    * Add option --<module>-output-color to change output color of one specified module,
      which overrides the global option --color-output
    * Add option --publicip-ipv6 to print IPv6 address (PublicIP)
    * Add new module Loadavg to print load averages (Loadavg)
    * Add new module PhysicalMemory to print information of physical memory devices (PhysicalMemory)
        Requires root permission to work on Linux and FreeBSD
    * Support specifying --logo-width only for --kitty-direct and --iterm (Logo)
    * Add option --localip-show-all-ips to show all IPs assigned to the same interface (LocalIP)
        Default to false
    * Add --cpu-show-pe-core-count to detect and display core count for performance / efficiency cores (CPU)
    * Add new module Bootmgr which prints information of stage 2 bootloader (grub, system-boot, etc)
     - Requires booting in UEFI mode
    * Detect core count for performance / efficiency cores (CPU)
     - Test it with fastfetch --cpu-show-pe-core-count
    * Detect DRM driver version if DRM detection method is used (GPU, Linux)
   Bugfixes:
    * Rename option --temperature-unit to --temp-unit as documented in help messages
    * Fix alternate logo doesn't work with { "type": "builtin" } (Logo)
    * Don't detect clifm and valgrind as a terminal (Terminal, Linux)

OBS-URL: https://build.opensuse.org/request/show/1175960
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fastfetch?expand=0&rev=28
2024-05-23 13:35:16 +00:00
Gordon Leung
d56d65f518 - update to 2.13.1:
Changes:
    * The long deprecated flag based config files are removed.
     - They can still be used with xargs fastfetch < /path/to/config.conf
     - --gen-config can be used to migrate them to json based config files
    * The long deprecated options --set and --set-keyless are removed.
    * Kernel module now prints kernel name by default
   Features:
    * Support st terminal font detection for font configuration compiled in st binary (TerminalFont, Linux)
    * Add option --color-output to change output color of all modules except Title, Separator
        display.color.output in JSONC config file
    * Add option --<module>-output-color to change output color of one specified module,
      which overrides the global option --color-output
    * Add option --publicip-ipv6 to print IPv6 address (PublicIP)
    * Add new module Loadavg to print load averages (Loadavg)
    * Add new module PhysicalMemory to print information of physical memory devices (PhysicalMemory)
        Requires root permission to work on Linux and FreeBSD
    * Support specifying --logo-width only for --kitty-direct and --iterm (Logo)
    * Add option --localip-show-all-ips to show all IPs assigned to the same interface (LocalIP)
        Default to false
    * Add --cpu-show-pe-core-count to detect and display core count for performance / efficiency cores (CPU)
    * Add new module Bootmgr which prints information of stage 2 bootloader (grub, system-boot, etc)
     - Requires booting in UEFI mode
    * Detect core count for performance / efficiency cores (CPU)
     - Test it with fastfetch --cpu-show-pe-core-count
    * Detect DRM driver version if DRM detection method is used (GPU, Linux)
   Bugfixes:
    * Rename option --temperature-unit to --temp-unit as documented in help messages
    * Fix alternate logo doesn't work with { "type": "builtin" } (Logo)
    * Don't detect clifm and valgrind as a terminal (Terminal, Linux)

OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=69
2024-05-22 20:34:10 +00:00
Ana Guerrero
510e89baba Accepting request 1173794 from utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1173794
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fastfetch?expand=0&rev=27
2024-05-14 11:38:06 +00:00
Gordon Leung
ef8bda5982 - update to 2.11.5:
Changes:
    * Fastfetch will print a colorless ascii logo in --pipe mode for better lolcat compatibility.
      fastfetch | lolcat should work and no --pipe false needed. Previously the logo would be disabled in --pipe mode.
    * --os-file was removed and CMake option -DCUSTOM_OS_RELEASE_PATH=/path/to/os-release was added.
      This option should not used in most cases.
   Bugfixes:
    * Fix possible out-of-bound memory access (#868)
    * Fix doubled output in custom formation (#852)
    * Fix memory leaks when passing informative options
    * Fix JSON config size.ndigits doesn't work
    * Remove --os-file in help messages
   Features:
    * Enable --pipe mode if environment variable $NO_COLOR is set
    * Support Armbian and Proxmox distro detection (OS, Linux)

OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=67
2024-05-06 19:47:18 +00:00
Soc Virnyl Estela
75f201bfaf - update to 2.11.3:
* Features:
    - Add cmake option CUSTOM_AMDGPU_IDS_PATH for specifying custom path of amdgpu.ids
  * Bugfixes:
    - Fix hanging when detecting disconnected network drive (Disk, Windows)
    - Ensure line ending is printed when printing image logo errors (Logo)
    - Revert image logo limitation change in 2.11.2; allow image logo in SSH session and tmux again (#861, Logo)
    - Fix doubled output in custom formation (PhysicalDisk, Windows)
- changes that are from 2.11.2:
  * Changes:
    - Error messages when trying to print image logo will only be printed with --show-errors
    - When generating JSON output, fastfetch will generate an empty array when no result is detected, instead of an error.
  * Bugfixes:
    - Fix segfault in Debian 11 and some old kernels. Regression introduced in 2.11.0 (#845, GPU, Linux)
    - Don't try detecting version of raw sh shell (#849, Shell, Linux)
    - Trim \r on Windows
  * Features:
    - Check xdg state home for nix user packages (#837, Packages, Linux)
    - Disable image logos in ssh and tmux sessions (#839)
    - Support MX Linux distro detection (#847, OS, Linux)
  * Logo:
    - Add KernelOS
    - Fix name of DraugerOS
    - Add missing FF_LOGO_LINE_TYPE_SMALL_BIT flags
    - Add MX2
- changes that are from 2.11.2:
  * Bugfixes:
    - Fix uninitialized variables which can cause crashes (#760 #838, Battery, Android)
    - Don't detect hyfetch as shell when used as backend of hyfetch
    - Fix incorrect information in man page (#828)

OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=66
2024-05-05 07:46:37 +00:00
Dominique Leuenberger
ffa62ed4ea Accepting request 1171072 from utilities
- update to 2.11.0:
  Changes:
    - Default hideCursor to false. It doesn't make much difference
      but makes user's terminal unusable if fastfetch is not exited correctly.
  Bugfixes:
    - Fix minimum cmake version support
    - Fix wifi detection on platforms that don't use NetworkManager
    - Fix GPU type detection for AMD cards
  Features:
    - Add basic support DE detection support for UKUI (DE, Linux)
    - Make config specified in JSONC overridable by command line flags
     * Note this change only make global config overridable; module configs are still not
    - Suggest increasing --processing-timeout when child process timeouts
    - Only detect folders that specified by --disk-folders
     * Previously --disk-folders only omits unmatched disks from output.
       This option can be used to improve detection performance by ignoring slow network drives

OBS-URL: https://build.opensuse.org/request/show/1171072
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fastfetch?expand=0&rev=26
2024-05-01 12:57:21 +00:00
Gordon Leung
639a04a995 - update to 2.11.0:
Changes:
    - Default hideCursor to false. It doesn't make much difference
      but makes user's terminal unusable if fastfetch is not exited correctly.
  Bugfixes:
    - Fix minimum cmake version support
    - Fix wifi detection on platforms that don't use NetworkManager
    - Fix GPU type detection for AMD cards
  Features:
    - Add basic support DE detection support for UKUI (DE, Linux)
    - Make config specified in JSONC overridable by command line flags
     * Note this change only make global config overridable; module configs are still not
    - Suggest increasing --processing-timeout when child process timeouts
    - Only detect folders that specified by --disk-folders
     * Previously --disk-folders only omits unmatched disks from output.
       This option can be used to improve detection performance by ignoring slow network drives

OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=64
2024-05-01 04:45:46 +00:00
Ana Guerrero
82118286d9 Accepting request 1169930 from utilities
- update to 2.10.2:
  Changes:
    * We now always detect max frequency of GPUs for consistent, instead of current frequency
  Features:
    * Improve display detection for wlroots based WMs. Fastfetch now correctly reports fractional scale factors in hyprland (Display, Linux)
    * Improve GPU detection on Linux (GPU, Linux)
        - Support GPU memory usage detection for AMD GPUs
        - Support GPU frequency detection for Intel GPUs
    * Improve performance of Gnome version detection (DE, Linux)
    * Improve performance of kitty version detection (Terminal, Linux)
    * Detect refresh rate when using --ds-force-drm sysfs-only (Display, Linux)
    * Add option --ts-version to disable terminal and shell version detection. Mainly for benchmarking purposes
    * Improve performance of detecting WSL version (Host, Linux)
  Bugfixes:
    * Correctly detect /bin/sh as current shell if it's used as default shell (Shell, Linux)
    * Work around an issue which CPU module reports incorrect CPU frequency that is too high (CPU, Linux)
    * Don't print ANSI escape codes in --pipe mode

OBS-URL: https://build.opensuse.org/request/show/1169930
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fastfetch?expand=0&rev=25
2024-04-25 18:48:20 +00:00
Gordon Leung
1c0c9e7309 - update to 2.10.2:
Changes:
    * We now always detect max frequency of GPUs for consistent, instead of current frequency
  Features:
    * Improve display detection for wlroots based WMs. Fastfetch now correctly reports fractional scale factors in hyprland (Display, Linux)
    * Improve GPU detection on Linux (GPU, Linux)
        - Support GPU memory usage detection for AMD GPUs
        - Support GPU frequency detection for Intel GPUs
    * Improve performance of Gnome version detection (DE, Linux)
    * Improve performance of kitty version detection (Terminal, Linux)
    * Detect refresh rate when using --ds-force-drm sysfs-only (Display, Linux)
    * Add option --ts-version to disable terminal and shell version detection. Mainly for benchmarking purposes
    * Improve performance of detecting WSL version (Host, Linux)
  Bugfixes:
    * Correctly detect /bin/sh as current shell if it's used as default shell (Shell, Linux)
    * Work around an issue which CPU module reports incorrect CPU frequency that is too high (CPU, Linux)
    * Don't print ANSI escape codes in --pipe mode

OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=62
2024-04-23 19:39:51 +00:00
Ana Guerrero
8beef26851 Accepting request 1167996 from utilities
- update to 2.9.2:
  Changes:
    * To make use of the newly introduced `yyjson` flag `YYJSON_WRITE_NEWLINE_AT_END`, fastfetch now requires `yyjson` 0.9.0 or later
  Features:
    * Always add a final new-line when generating JSON output
    * Detect partition create time, which can be used as OS installation time (Disk)
    * Print time string when generating JSON result instead of UNIX epoch time number, which is more human-readable
  Bugfixes:
    * Fix a memory leak
    * Fix parsing of option `--packages-disabled` (Packages)
    * Don't use command `time` as a shell (Shell)
  Logos:
    * Add openSUSE MicroOS
    * Fix color of AOSC OS

OBS-URL: https://build.opensuse.org/request/show/1167996
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fastfetch?expand=0&rev=24
2024-04-16 18:05:27 +00:00
Gordon Leung
ed9c5f6229 - update to 2.9.2:
Changes:
    * To make use of the newly introduced `yyjson` flag `YYJSON_WRITE_NEWLINE_AT_END`, fastfetch now requires `yyjson` 0.9.0 or later
  Features:
    * Always add a final new-line when generating JSON output
    * Detect partition create time, which can be used as OS installation time (Disk)
    * Print time string when generating JSON result instead of UNIX epoch time number, which is more human-readable
  Bugfixes:
    * Fix a memory leak
    * Fix parsing of option `--packages-disabled` (Packages)
    * Don't use command `time` as a shell (Shell)
  Logos:
    * Add openSUSE MicroOS
    * Fix color of AOSC OS

OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=60
2024-04-16 10:05:53 +00:00
Ana Guerrero
358974fd00 Accepting request 1166264 from utilities
OBS-URL: https://build.opensuse.org/request/show/1166264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fastfetch?expand=0&rev=23
2024-04-09 14:47:38 +00:00
Gordon Leung
58f9aa1156 Accepting request 1166124 from home:dirkmueller:Factory
- update to 2.9.1:
  * Support weston-terminal (missed commit in v2.9.0)
    (TerminalFont, Linux)
  * Support hyprcursor detection
  * Fix `fastfetch --gen-config` raises SIGSEGV when
    `~/.config/fastfetch` doesn't exist. Regression of `2.9.0`

  **BREAKING**
  We are deprecating flags based config files (will be removed in v3.0.0).
  We suggest you migrate to json based config files.
  One may use `-c /path/to/config.conf --gen-config` to migrate existing flag
    * Fix segfaults on first use of new images with Sixel flag (Image)

OBS-URL: https://build.opensuse.org/request/show/1166124
OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=58
2024-04-08 21:17:39 +00:00
Ana Guerrero
70d1692adb Accepting request 1164456 from utilities
- update to 2.9.0:
  Features:
    * Support Lxterminal version detection (Terminal, Linux)
    * Support weston-terminal version and font detection (TerminalFont, Linux)
    * Support am package manager detection (Packages, Linux)
    * Support network prefix length detection for IPv6 (LocalIP)
    * Display all IPs when multiple IPs are assigned to the same interface (LocalIP)
    * Add option --localip-show-prefix-len to show network prefix length for both IPv4 and IPv6. Defaults to true (LocalIP)
  Bugfixes:
    * Fix network prefix length detection when the value is greater than 24 (LocalIP, Linux)
    * For xfce4-terminal, use system mono font if no config file is found (TerminalFont, Linux)

OBS-URL: https://build.opensuse.org/request/show/1164456
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fastfetch?expand=0&rev=22
2024-04-04 20:26:14 +00:00
Gordon Leung
9bd4cb0909 - update to 2.9.0:
Features:
    * Support Lxterminal version detection (Terminal, Linux)
    * Support weston-terminal version and font detection (TerminalFont, Linux)
    * Support am package manager detection (Packages, Linux)
    * Support network prefix length detection for IPv6 (LocalIP)
    * Display all IPs when multiple IPs are assigned to the same interface (LocalIP)
    * Add option --localip-show-prefix-len to show network prefix length for both IPv4 and IPv6. Defaults to true (LocalIP)
  Bugfixes:
    * Fix network prefix length detection when the value is greater than 24 (LocalIP, Linux)
    * For xfce4-terminal, use system mono font if no config file is found (TerminalFont, Linux)

OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=56
2024-04-04 04:55:33 +00:00
Ana Guerrero
4c639609cc Accepting request 1161283 from utilities
- update to 2.8.10:
  Bugfixes:
    * Ignore chezmoi (Terminal, Linux)
    * Trim trailing possible whitespaces (PublicIP)
    * Fix detection compatibility for KDE 6 (Font, Linux)
  Features:
    * Improve stability; print more useful error message; avoid misuse (PublicIP / Weather)

OBS-URL: https://build.opensuse.org/request/show/1161283
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fastfetch?expand=0&rev=21
2024-03-25 20:12:11 +00:00
Gordon Leung
a641ad7b9f - update to 2.8.10:
Bugfixes:
    * Ignore chezmoi (Terminal, Linux)
    * Trim trailing possible whitespaces (PublicIP)
    * Fix detection compatibility for KDE 6 (Font, Linux)
  Features:
    * Improve stability; print more useful error message; avoid misuse (PublicIP / Weather)

OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=54
2024-03-25 07:12:11 +00:00
Ana Guerrero
f70b9aad7e Accepting request 1158282 from utilities
- update to version 2.8.9:
  Bugfixes:
    * Don't detect SessionLeader as terminal, actually (Terminal, Linux)
    * Fix blurry chafa result when specifying both width and height (Logo)
  Features:
    * Distinguish min frequency and base frequency (CPU)

OBS-URL: https://build.opensuse.org/request/show/1158282
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fastfetch?expand=0&rev=20
2024-03-15 19:32:29 +00:00
Gordon Leung
caba717912 - update to version 2.8.9:
Bugfixes:
    * Don't detect SessionLeader as terminal, actually (Terminal, Linux)
    * Fix blurry chafa result when specifying both width and height (Logo)
  Features:
    * Distinguish min frequency and base frequency (CPU)

OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=52
2024-03-15 16:48:31 +00:00
Ana Guerrero
cd3356a90f Accepting request 1156252 from utilities
- update to version 2.8.8:
  Bugfixes:
    * Fix old fish version compatibility
    * Fix truncated texts in --help format
    * Fix old vulkan-header and libdrm library compatibility (Linux)
    * Fix possible segfaults in --help *-format
    * Fix invalid resolution detection when using libdrm (Linux, Display)
    * Fix segfault when /sys/devices/system/cpu/cpufreq/ doesn't exist (CPU, Linux)
    * Don't detect SessionLeader as terminal (Terminal, Linux)
    * Fix detection of client IP (Users, Linux)

OBS-URL: https://build.opensuse.org/request/show/1156252
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fastfetch?expand=0&rev=19
2024-03-08 17:09:46 +00:00
Gordon Leung
292dec0075 - update to version 2.8.8:
Bugfixes:
    * Fix old fish version compatibility
    * Fix truncated texts in --help format
    * Fix old vulkan-header and libdrm library compatibility (Linux)
    * Fix possible segfaults in --help *-format
    * Fix invalid resolution detection when using libdrm (Linux, Display)
    * Fix segfault when /sys/devices/system/cpu/cpufreq/ doesn't exist (CPU, Linux)
    * Don't detect SessionLeader as terminal (Terminal, Linux)
    * Fix detection of client IP (Users, Linux)

OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=50
2024-03-08 06:28:07 +00:00
Dominique Leuenberger
8fdad8bfd9 Accepting request 1154306 from utilities
- update to version 2.8.7:
  Bugfixes:
    * Fix max CPU frequency detection for some cases (CPU, Linux)
    * Fix some memory leaks
    * Fix ddcutil 2.1 compatibility (Brightness, Linux)
  Features:
    * Support zellij version detection (Linux, Terminal)

OBS-URL: https://build.opensuse.org/request/show/1154306
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fastfetch?expand=0&rev=18
2024-03-02 22:24:11 +00:00
Gordon Leung
bbab38e215 - update to version 2.8.7:
Bugfixes:
    * Fix max CPU frequency detection for some cases (CPU, Linux)
    * Fix some memory leaks
    * Fix ddcutil 2.1 compatibility (Brightness, Linux)
  Features:
    * Support zellij version detection (Linux, Terminal)

OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=48
2024-03-02 13:15:15 +00:00
Ana Guerrero
ad638cdc81 Accepting request 1152862 from utilities
- update to version 2.8.6:
  Changes:
    * Due to newly introduced configs, JSONC option { "temperatureUnit": "C" } has been changed to { "temp": { "unit": "C" } }
  Bugfixes:
    * Fix incorrect GPU name detection for Intel iGPU on Linux (GPU, Linux)
  Features:
    * Support additional temperature formatting options
        { "temp": { "ndigits": 1 } }
        { "temp": { "color": { "green": "green", "yellow": "yellow", "red": "red" } } }
    * Support specifying custom pci.ids path for Linux (GPU, Linux)
    * Support warp-linux terminal version & terminal font detection (Terminal, Linux)

OBS-URL: https://build.opensuse.org/request/show/1152862
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fastfetch?expand=0&rev=17
2024-02-28 18:47:22 +00:00