From 553124ab5bed8011b4333cd8295b4df85357d735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Sat, 16 Mar 2024 22:23:01 +0800 Subject: [PATCH] Presets: a new example Ref: #761 --- presets/examples/12.jsonc | 104 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 presets/examples/12.jsonc diff --git a/presets/examples/12.jsonc b/presets/examples/12.jsonc new file mode 100644 index 000000000..eca55ab7f --- /dev/null +++ b/presets/examples/12.jsonc @@ -0,0 +1,104 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", + "logo": { + "type": "none" + }, + "display": { + "separator": "-> " + }, + "modules": [ + { + "type": "title", + "format": " {6}{7}{8}" + }, + "break", + { + "type": "custom", + "format": "┌───────────────────────────── \u001b[1mSystem Information\u001b[0m ─────────────────────────────┐" // `\u001b` is `\033`, or `\e` + }, + "break", + { + "key": "  OS ", + "keyColor": "red", + "type": "os" + }, + { + "key": "  Machine ", + "keyColor": "green", + "type": "host" + }, + { + "key": "  Kernel ", + "keyColor": "magenta", + "type": "kernel" + }, + { + "key": " 󰅐 Uptime ", + "keyColor": "red", + "type": "uptime" + }, + { + "key": " 󰍹 Resolution ", + "keyColor": "yellow", + "type": "display", + "compactType": "original-with-refresh-rate" + }, + { + "key": "  WM ", + "keyColor": "blue", + "type": "wm" + }, + { + "key": "  DE ", + "keyColor": "green", + "type": "de" + }, + { + "key": "  Shell ", + "keyColor": "cyan", + "type": "shell" + }, + { + "key": "  Terminal ", + "keyColor": "red", + "type": "terminal" + }, + { + "key": "  CPU ", + "keyColor": "yellow", + "type": "cpu" + }, + { + "key": " ﬙ GPU ", + "keyColor": "blue", + "type": "gpu" + }, + { + "key": " 󰑭 Memory ", + "keyColor": "magenta", + "type": "memory" + }, + { + "key": " 󰩟 Local IP ", + "keyColor": "red", + "type": "localip", + "compact": true + }, + { + "key": " 󰩠 Public IP ", + "keyColor": "cyan", + "type": "publicip" + }, + "break", + { + "type": "custom", + "format": "└──────────────────────────────────────────────────────────────────────────────┘" // `\u001b` is `\033`, or `\e` + }, + "break", + { + "type": "colors", + "paddingLeft": 34, + "symbol": "circle" + } + ] +}