From 7cd79d34bb8a32ab538c74e4b3c1ad813a083127 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Mon, 18 Sep 2023 14:19:19 +0800 Subject: [PATCH] Presets: remove `devinfo` and `verbose` --- CHANGELOG.md | 2 ++ presets/devinfo | 3 --- presets/devinfo-verbose | 3 --- presets/devinfo.jsonc | 49 ----------------------------------------- presets/verbose | 31 -------------------------- 5 files changed, 2 insertions(+), 86 deletions(-) delete mode 100644 presets/devinfo delete mode 100644 presets/devinfo-verbose delete mode 100644 presets/devinfo.jsonc delete mode 100644 presets/verbose diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bfe24e1d..b68905cee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ Changes: * Users module detects and prints user login time by default. Specifying `--users-compact` to disable it * Fastfetch now requires yyjson 0.8.0 or later, which is embeded in fastfetch source tree. If you build fastfetch with `-DENABLE_SYSTEM_YYJSON` cmake option, you must upgrade your yyjson package * Reduced information supported by `--terminal-format`, `--shell-format` +* Some config presets (`devinfo` and `verbose`) are obseleted and removed. They are barely maintained and can be replaced with `--format json` now. Features: * Add `--format json`, which prints system information as JSON format @@ -18,6 +19,7 @@ Features: * Support winget package manager detection, guarded behind `--allow-slow-operations` (Packages, Windows) Bugfixes: +* Fix fastfetch hanging in specific environment (#561) * Fix `fastfetch --config verbose` doesn't work (#547) * Fix short read when reading from stdin (Logo) * Fix `poll() timeout or failed` error when image is very large (Logo) diff --git a/presets/devinfo b/presets/devinfo deleted file mode 100644 index 2ddf030b5..000000000 --- a/presets/devinfo +++ /dev/null @@ -1,3 +0,0 @@ ---disable-linewrap false ---multithreading false ---show-errors diff --git a/presets/devinfo-verbose b/presets/devinfo-verbose deleted file mode 100644 index 6f79f97e7..000000000 --- a/presets/devinfo-verbose +++ /dev/null @@ -1,3 +0,0 @@ ---load-config devinfo ---load-config all ---load-config verbose diff --git a/presets/devinfo.jsonc b/presets/devinfo.jsonc deleted file mode 100644 index 450adb926..000000000 --- a/presets/devinfo.jsonc +++ /dev/null @@ -1,49 +0,0 @@ -{ - "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", - "logo": { - "type": "builtin", - "source": "arch" - }, - "display": { - "disableLinewrap": false, - "showErrors": true - }, - "general": { - "multithreading": false - }, - "modules": [ - "title", - "separator", - { - "type": "os", - "format": "Arch Linux ({12})" - }, - "host", - "kernel", - "uptime", - { - "type": "packages", - "format": "{} (pacman)" - }, - "shell", - "display", - "de", - "wm", - "wmtheme", - "theme", - "icons", - "font", - "cursor", - "terminal", - "terminalfont", - "cpu", - "gpu", - "memory", - "disk", - "battery", - "poweradapter", - "locale", - "break", - "colors" - ] -} diff --git a/presets/verbose b/presets/verbose deleted file mode 100644 index 44c0c3ee9..000000000 --- a/presets/verbose +++ /dev/null @@ -1,31 +0,0 @@ ---os-format System: {}; Name: {}; Pretty name: {}; ID: {}; ID like: {}; Variant: {}; Variant ID: {}; Version: {}; Version ID: {}; Version codename: {}; Build ID: {}; Architecture: {} ---host-format Family: product_family: {}; product_name: {}; product_version: {}; product_sku: {}; sys_vendor: {} ---kernel-format Sysname: {}; Release: {}; Version: {} ---uptime-format Days: {}; Hours: {}; Minutes: {}; Seconds: {} ---processes-format Count: {} ---packages-format All: {}; pacman: {}; pacman branch: {}; dpkg: {}; rpm: {}; emerge: {}; eopkg: {}; xbps: {}; apk: {}; flatpak-system: {}; flatpak-user: {}; snap: {}; brew: {}; brew-cask: {}; port: {}; scoop: {}; choco: {}; pkgtool: {}; paludis {} ---shell-format Process name: {}; Process path: {}; Process exe: {}; Process version: {}; User path: {}; User exe: {}; User version: {} ---display-format Width: {}; Height: {}; Refresh rate: {}; ScaledWith: {}; ScaledHeight: {} ---de-format Process name: {}; Pretty name: {}; Version: {} ---wm-format Process name: {}; Pretty name: {}; Protocol: {} ---wmtheme-format Name: {} ---theme-format Plasma: {}; Plasma colors: {}; Plasma colors pretty: {}; GTK2: {}; GTK3: {}; GTK4: {}; GTK: {} ---icons-format Plasma: {}; GTK2: {}; GTK3: {}; GTK4: {}; GTK: {} ---font-format Font1: {}; Font2: {}; Font3: {}; Font4: {} ---cursor-format Theme: {}; Size: {} ---terminal-format Process: {}; Path: {}; Exe: {} ---terminalfont-format Pretty: {}; Name: {}; Size: {}; Styles: {} ---cpu-format Name: {}, Vendor: {}, CoresPhysical: {}, CoresLogical: {}, CoresOnline: {}, FrequencyMin: {}, FrequencyMax: {}, Temperature: {} ---cpuusage-format Percentage: {} ---gpu-format Vendor: {}; Name: {}; Driver: {}; Temperature: {}; CoreCount: {}; Type: {} ---memory-format Used: {}; Total: {}; Percentage: {} ---disk-format SizeUsed: {}; SizeTotal: {}; SizePercentage: {}; FilesUsed: {}; FilesTotal: {}; FilesPercentage: {}; External: {}; Hidden: {}; Filesystem: {}; Name: {} ---battery-format Manufactor: {}; Model: {}; Technology: {}; Capacity: {}; Status: {} ---poweradapter-format Watts: {}; Name: {}; Manufactor: {}; Model: {}; Description: {} ---player-format Pretty: {}; Name: {}; Bus: {}; Url: {} ---media-format Pretty: {}; Name: {}; Artist: {}; Album: {} ---datetime-format year: {}; yearShort: {}; month: {}; monthPretty: {}; monthName: {}; monthNameShort: {}; weekNumber: {}; weekday: {}; weekdayShort: {}; dayInYear: {}; dayInMonth: {}; dayInWeek: {}; hour: {}; hourPretty: {}; hour12: {}; hour12Pretty: {}; minute: {}; minutePretty: {}; second: {}; secondPretty: {} ---vulkan-format driver: {}; Api Version: {}; Conformance Version: {} ---opengl-format version: {}; renderer: {}; vendor: {} ---opencl-format version: {}; device: {}; vendor: {} ---bluetooth-format Name: {}; Address: {}; Type: {}; Battery: {}