mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-29 13:09:24 +00:00
Add omarchy version to fastfetch config
This commit is contained in:
@ -1,144 +1,149 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||||
"logo": {
|
"logo": {
|
||||||
"padding": {
|
"padding": {
|
||||||
"top": 5,
|
"top": 5,
|
||||||
"right": 6
|
"right": 6
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"modules": [
|
||||||
|
"break",
|
||||||
|
{
|
||||||
|
"type": "custom",
|
||||||
|
"format": "\u001b[90m┌──────────────────────Hardware──────────────────────┐"
|
||||||
},
|
},
|
||||||
"modules": [
|
{
|
||||||
"break",
|
"type": "host",
|
||||||
{
|
"key": " PC",
|
||||||
"type": "custom",
|
"keyColor": "green"
|
||||||
"format": "\u001b[90m┌──────────────────────Hardware──────────────────────┐"
|
},
|
||||||
},
|
{
|
||||||
{
|
"type": "cpu",
|
||||||
"type": "host",
|
"key": "│ ├",
|
||||||
"key": " PC",
|
"showPeCoreCount": true,
|
||||||
"keyColor": "green"
|
"keyColor": "green"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "cpu",
|
"type": "gpu",
|
||||||
"key": "│ ├",
|
"key": "│ ├",
|
||||||
"showPeCoreCount": true,
|
"detectionMethod": "pci",
|
||||||
"keyColor": "green"
|
"keyColor": "green"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "gpu",
|
"type": "display",
|
||||||
"key": "│ ├",
|
"key": "│ ├",
|
||||||
"detectionMethod": "pci",
|
"keyColor": "green"
|
||||||
"keyColor": "green"
|
},
|
||||||
},
|
{
|
||||||
{
|
"type": "disk",
|
||||||
"type": "display",
|
"key": "│ ├",
|
||||||
"key": "│ ├",
|
"keyColor": "green"
|
||||||
"keyColor": "green"
|
},
|
||||||
},
|
{
|
||||||
{
|
"type": "memory",
|
||||||
"type": "disk",
|
"key": "│ ├",
|
||||||
"key": "│ ├",
|
"keyColor": "green"
|
||||||
"keyColor": "green"
|
},
|
||||||
},
|
{
|
||||||
{
|
"type": "swap",
|
||||||
"type": "memory",
|
"key": "└ └ ",
|
||||||
"key": "│ ├",
|
"keyColor": "green"
|
||||||
"keyColor": "green"
|
},
|
||||||
},
|
{
|
||||||
{
|
"type": "custom",
|
||||||
"type": "swap",
|
"format": "\u001b[90m└────────────────────────────────────────────────────┘"
|
||||||
"key": "└ └ ",
|
},
|
||||||
"keyColor": "green",
|
"break",
|
||||||
},
|
{
|
||||||
{
|
"type": "custom",
|
||||||
"type": "custom",
|
"format": "\u001b[90m┌──────────────────────Software──────────────────────┐"
|
||||||
"format": "\u001b[90m└────────────────────────────────────────────────────┘"
|
},
|
||||||
},
|
{
|
||||||
"break",
|
"type": "os",
|
||||||
{
|
"key": " OS",
|
||||||
"type": "custom",
|
"keyColor": "yellow"
|
||||||
"format": "\u001b[90m┌──────────────────────Software──────────────────────┐"
|
},
|
||||||
},
|
{
|
||||||
{
|
"type": "kernel",
|
||||||
"type": "os",
|
"key": "│ ├",
|
||||||
"key": " OS",
|
"keyColor": "yellow"
|
||||||
"keyColor": "yellow"
|
},
|
||||||
},
|
{
|
||||||
{
|
"type": "packages",
|
||||||
"type": "kernel",
|
"key": "│ ├",
|
||||||
"key": "│ ├",
|
"keyColor": "yellow"
|
||||||
"keyColor": "yellow"
|
},
|
||||||
},
|
{
|
||||||
{
|
"type": "shell",
|
||||||
"type": "packages",
|
"key": "└ └",
|
||||||
"key": "│ ├",
|
"keyColor": "yellow"
|
||||||
"keyColor": "yellow"
|
},
|
||||||
},
|
"break",
|
||||||
{
|
{
|
||||||
"type": "shell",
|
"type": "command",
|
||||||
"key": "└ └",
|
"key": "│ ├Ø",
|
||||||
"keyColor": "yellow"
|
"keyColor": "blue",
|
||||||
},
|
"text": "version=$(git -C ~/.local/share/omarchy describe --tags --abbrev=0 2>/dev/null); echo \"Omarchy $version\""
|
||||||
"break",
|
},
|
||||||
{
|
{
|
||||||
"type": "de",
|
"type": "de",
|
||||||
"key": " DE",
|
"key": " DE",
|
||||||
"keyColor": "blue"
|
"keyColor": "blue"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "wm",
|
"type": "wm",
|
||||||
"key": "│ ├",
|
"key": "│ ├",
|
||||||
"keyColor": "blue"
|
"keyColor": "blue"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "wmtheme",
|
"type": "wmtheme",
|
||||||
"key": "│ ├",
|
"key": "│ ├",
|
||||||
"keyColor": "blue"
|
"keyColor": "blue"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "icons",
|
"type": "icons",
|
||||||
"key": "│ ├",
|
"key": "│ ├",
|
||||||
"keyColor": "blue",
|
"keyColor": "blue"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "cursor",
|
"type": "cursor",
|
||||||
"key": "│ ├",
|
"key": "│ ├",
|
||||||
"keyColor": "blue",
|
"keyColor": "blue"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "terminalfont",
|
"type": "terminalfont",
|
||||||
"key": "│ ├",
|
"key": "│ ├",
|
||||||
"keyColor": "blue",
|
"keyColor": "blue"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "terminal",
|
"type": "terminal",
|
||||||
"key": "└ └",
|
"key": "└ └",
|
||||||
"keyColor": "blue"
|
"keyColor": "blue"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "custom",
|
"type": "custom",
|
||||||
"format": "\u001b[90m└────────────────────────────────────────────────────┘"
|
"format": "\u001b[90m└────────────────────────────────────────────────────┘"
|
||||||
},
|
},
|
||||||
"break",
|
"break",
|
||||||
{
|
{
|
||||||
"type": "custom",
|
"type": "custom",
|
||||||
"format": "\u001b[90m┌────────────────────Uptime / Age────────────────────┐"
|
"format": "\u001b[90m┌────────────────────Uptime / Age────────────────────┐"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "command",
|
"type": "command",
|
||||||
"key": " OS Age ",
|
"key": " OS Age ",
|
||||||
"keyColor": "magenta",
|
"keyColor": "magenta",
|
||||||
"text": "birth_install=$(stat -c %W /); current=$(date +%s); time_progression=$((current - birth_install)); days_difference=$((time_progression / 86400)); echo $days_difference days"
|
"text": "birth_install=$(stat -c %W /); current=$(date +%s); time_progression=$((current - birth_install)); days_difference=$((time_progression / 86400)); echo $days_difference days"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "uptime",
|
"type": "uptime",
|
||||||
"key": " Uptime ",
|
"key": " Uptime ",
|
||||||
"keyColor": "magenta"
|
"keyColor": "magenta"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "custom",
|
"type": "custom",
|
||||||
"format": "\u001b[90m└────────────────────────────────────────────────────┘"
|
"format": "\u001b[90m└────────────────────────────────────────────────────┘"
|
||||||
},
|
},
|
||||||
"break",
|
"break"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user