From eb1f378a6e46c745a1f50e51b0981f9ef7d6ae77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Wed, 19 Jun 2024 13:48:53 +0800 Subject: [PATCH] Presets: add a new example --- presets/examples/22.jsonc | 109 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 presets/examples/22.jsonc diff --git a/presets/examples/22.jsonc b/presets/examples/22.jsonc new file mode 100644 index 000000000..5ccb863f4 --- /dev/null +++ b/presets/examples/22.jsonc @@ -0,0 +1,109 @@ +// Modified from: https://github.com/fastfetch-cli/fastfetch/pull/1025#issuecomment-2177566138 +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", + "logo": { + "source": "arch3", + "color": { + "1": "red", + "2": "yellow" + } + }, + "display": { + "color": { + "separator": "blue" + }, + "separator": " | " + }, + "modules": [ + { + "type": "kernel", + "key": " /\\rch Linux", + "keyColor": "magenta" + }, + { + "type": "custom", + "format": ">-----------<+>------------------------------------------<", + "outputColor": "separator" + }, + { + "type": "uptime", + "key": " Uptime ", + "keyColor": "green" + }, + { + "type": "shell", + "key": " Shell ", + "keyColor": "green" + }, + { + "type": "terminal", + "key": " Terminal ", + "keyColor": "green" + }, + { + "type": "terminalfont", + "key": " Font ", + "keyColor": "green" + }, + { + "type": "packages", + "key": " Packages ", + "keyColor": "green" + }, + { + "type": "localip", + "key": " Local IP ", + "keyColor": "green" + }, + { + "type": "custom", + "format": ">-----------<+>------------------------------------------<", + "outputColor": "separator" + }, + { + "type": "display", + "key": " Display ", + "keyColor": "cyan" + }, + { + "type": "cpu", + "key": " CPU ", + "keyColor": "cyan" + }, + { + "type": "gpu", + "key": " GPU ", + "keyColor": "cyan" + }, + { + "type": "memory", + "key": " RAM ", + "keyColor": "cyan" + }, + { + "type": "swap", + "key": " SWAP ", + "keyColor": "cyan" + }, + { + "type": "disk", + "key": " Disk ", + "keyColor": "cyan" + }, + { + "type": "battery", + "key": " Battery ", + "keyColor": "cyan" + }, + { + "type": "custom", + "format": ">-----------<+>------------------------------------------<", + "outputColor": "separator" + }, + "break", + { + "type": "colors", + "paddingLeft": 15 + } + ] +}