summaryrefslogtreecommitdiffstats
path: root/presets/examples/2.jsonc
diff options
context:
space:
mode:
authorsumuel <samuel@yakubos.org>2026-08-17 20:44:55 +0000
committersumuel <samuel@yakubos.org>2026-08-17 20:44:55 +0000
commit76424950e373d3b04ac3dd13019151bfba3e8423 (patch)
tree4c3cfdbda039e592b9186be3e28f8d7cfd439e8a /presets/examples/2.jsonc
Add the files
Diffstat (limited to 'presets/examples/2.jsonc')
-rw-r--r--presets/examples/2.jsonc88
1 files changed, 88 insertions, 0 deletions
diff --git a/presets/examples/2.jsonc b/presets/examples/2.jsonc
new file mode 100644
index 0000000..a7f5252
--- /dev/null
+++ b/presets/examples/2.jsonc
@@ -0,0 +1,88 @@
+// Load with --config examples/2.jsonc
+// Note that you must replace the image path to an existing image to display it.
+
+{
+ "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
+ // "logo": {
+ // "type": "iterm",
+ // "source": "~/Desktop/apple1.png",
+ // "width": 28,
+ // "height": 12
+ // },
+ "display": {
+ "separator": "  ",
+ "constants": [
+ "─────────────────" // {$1}, used in Custom module
+ ],
+ "key": {
+ "type": "icon",
+ "paddingLeft": 2
+ }
+ },
+ "modules": [
+ {
+ "type": "custom", // HardwareStart
+ // {#1} is equivalent to `\u001b[1m`. {#} is equivalent to `\u001b[m`
+ "format": "┌{$1} {#1}Hardware Information{#} {$1}┐"
+ },
+ "host",
+ "cpu",
+ "gpu",
+ "disk",
+ "memory",
+ "swap",
+ "display",
+ "brightness",
+ "battery",
+ "poweradapter",
+ "bluetooth",
+ "sound",
+ "gamepad",
+ {
+ "type": "custom", // SoftwareStart
+ "format": "├{$1} {#1}Software Information{#} {$1}┤"
+ },
+ {
+ "type": "title",
+ "keyIcon": "",
+ "key": "Title", // Title module has no key by default, so that icon is not displayed
+ "format": "{user-name}@{host-name}"
+ },
+ "os",
+ "kernel",
+ "lm",
+ "de",
+ "wm",
+ "shell",
+ "terminal",
+ "terminalfont",
+ "theme",
+ "icons",
+ "wallpaper",
+ "packages",
+ "uptime",
+ "media",
+ {
+ "type": "localip",
+ "compact": true
+ },
+ {
+ "type": "publicip",
+ "timeout": 1000
+ },
+ {
+ "type": "wifi",
+ "format": "{ssid}"
+ },
+ "locale",
+ {
+ "type": "custom", // InformationEnd
+ "format": "└{$1}──────────────────────{$1}┘"
+ },
+ {
+ "type": "colors",
+ "paddingLeft": 2,
+ "symbol": "circle"
+ }
+ ]
+}