Presets: more examples

This commit is contained in:
李通洲
2024-06-06 11:00:47 +08:00
parent 8440142d75
commit bf17854535
3 changed files with 175 additions and 2 deletions
+86
View File
@@ -0,0 +1,86 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
"type": "small",
"padding": {
"top": 1
}
},
"display": {
"separator": "",
"keyWidth": 15
},
"modules": [
{
"key": "•••••••••••••",
"type": "custom"
},
{
// draw borders first to make colors of left and right border consistant
"key": "• •\u001b[11D{#31} user",
"type": "title",
"format": "{1}"
},
{
"key": "• •\u001b[11D{#32}󰇅 hname",
"type": "title",
"format": "{2}"
},
{
"key": "• •\u001b[11D{#33}󰅐 uptime",
"type": "uptime"
},
{
"key": "• •\u001b[11D{#34}󰟾 distro",
"type": "os"
},
{
"key": "• •\u001b[11D{#35} kernel",
"type": "kernel"
},
{
"key": "• •\u001b[11D{#36}󰇄 desktop",
"type": "de"
},
{
"key": "• •\u001b[11D{#31} term",
"type": "terminal"
},
{
"key": "• •\u001b[11D{#32} shell",
"type": "shell"
},
{
"key": "• •\u001b[11D{#33}󰍛 cpu",
"type": "cpu",
"showPeCoreCount": true
},
{
"key": "• •\u001b[11D{#34}󰉉 disk",
"type": "disk",
"folders": "/"
},
{
"key": "• •\u001b[11D{#35} memory",
"type": "memory"
},
{
"key": "• •\u001b[11D{#36}󰩟 network",
"type": "localip",
"format": "{1} ({4})"
},
{
"key": "•••••••••••••",
"type": "custom"
},
{
"key": "• •\u001b[11D{#39} colors",
"type": "colors",
"symbol": "circle"
},
{
"key": "•••••••••••••",
"type": "custom"
}
]
}
+86
View File
@@ -0,0 +1,86 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
"type": "small",
"padding": {
"top": 1
}
},
"display": {
"separator": "",
"keyWidth": 15
},
"modules": [
{
"key": "╔═══════════╗",
"type": "custom"
},
{
// draw borders first to make colors of left and right border consistant
"key": "║ ║\u001b[11D{#31} user",
"type": "title",
"format": "{1}"
},
{
"key": "║ ║\u001b[11D{#32}󰇅 hname",
"type": "title",
"format": "{2}"
},
{
"key": "║ ║\u001b[11D{#33}󰅐 uptime",
"type": "uptime"
},
{
"key": "║ ║\u001b[11D{#34}󰟾 distro",
"type": "os"
},
{
"key": "║ ║\u001b[11D{#35} kernel",
"type": "kernel"
},
{
"key": "║ ║\u001b[11D{#36}󰇄 desktop",
"type": "de"
},
{
"key": "║ ║\u001b[11D{#31} term",
"type": "terminal"
},
{
"key": "║ ║\u001b[11D{#32} shell",
"type": "shell"
},
{
"key": "║ ║\u001b[11D{#33}󰍛 cpu",
"type": "cpu",
"showPeCoreCount": true
},
{
"key": "║ ║\u001b[11D{#34}󰉉 disk",
"type": "disk",
"folders": "/"
},
{
"key": "║ ║\u001b[11D{#35} memory",
"type": "memory"
},
{
"key": "║ ║\u001b[11D{#36}󰩟 network",
"type": "localip",
"format": "{1} ({4})"
},
{
"key": "╠═══════════╣",
"type": "custom"
},
{
"key": "║ ║\u001b[11D{#39} colors",
"type": "colors",
"symbol": "circle"
},
{
"key": "╚═══════════╝",
"type": "custom"
}
]
}
+3 -2
View File
@@ -5,7 +5,7 @@
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
// "logo": {
// "type": "iterm",
// "source": "/Users/carter/Desktop/apple1.png",
// "source": "~/Desktop/apple1.png",
// "width": 28,
// "height": 12
// },
@@ -15,7 +15,8 @@
"modules": [
{
"type": "custom", // HardwareStart
"format": "┌─────────── {#1}Hardware Information{#} ───────────┐" // {#1} is the same as `\u001b[1m`. {#} is `\u001b[m`
// {#1} is equivalent to `\u001b[1m`. {#} is equivalent to `\u001b[m`
"format": "┌─────────── {#1}Hardware Information{#} ───────────┐"
},
{
"type": "host",