Created
May 17, 2025 16:09
-
-
Save kshnkvn/35ac0cddc08d9dd0fc299888a2cd69ae to your computer and use it in GitHub Desktop.
fastfetch should be beautiful
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
// ~/.config/fastfetch/config.jsonc | |
// Configuration file for fastfetch | |
// GitHub: https://github.com/fastfetch-cli/fastfetch | |
{ | |
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", | |
"logo": { | |
"type": "builtin", | |
"height": 15, | |
"width": 30, | |
"padding": { | |
"top": 5, | |
"left": 3 | |
} | |
}, | |
"modules": [ | |
"break", | |
{ | |
"type": "custom", | |
"format": "\u001b[90m┌──────────────────────Hardware──────────────────────┐" | |
}, | |
{ | |
"type": "host", | |
"key": " PC", | |
"keyColor": "green" | |
}, | |
{ | |
"type": "cpu", | |
"key": "│ ├", | |
"keyColor": "green" | |
}, | |
{ | |
"type": "gpu", | |
"key": "│ ├", | |
"keyColor": "green" | |
}, | |
{ | |
"type": "memory", | |
"key": "│ ├", | |
"keyColor": "green" | |
}, | |
{ | |
"type": "disk", | |
"key": "└ └", | |
"keyColor": "green" | |
}, | |
{ | |
"type": "custom", | |
"format": "\u001b[90m└────────────────────────────────────────────────────┘" | |
}, | |
"break", | |
{ | |
"type": "custom", | |
"format": "\u001b[90m┌──────────────────────Software──────────────────────┐" | |
}, | |
{ | |
"type": "os", | |
"key": " OS", | |
"keyColor": "yellow" | |
}, | |
{ | |
"type": "kernel", | |
"key": "│ ├", | |
"keyColor": "yellow" | |
}, | |
{ | |
"type": "bios", | |
"key": "│ ├", | |
"keyColor": "yellow" | |
}, | |
{ | |
"type": "packages", | |
"key": "│ ├", | |
"keyColor": "yellow" | |
}, | |
{ | |
"type": "shell", | |
"key": "└ └", | |
"keyColor": "yellow" | |
}, | |
"break", | |
{ | |
"type": "de", | |
"key": " DE", | |
"keyColor": "blue" | |
}, | |
{ | |
"type": "lm", | |
"key": "│ ├", | |
"keyColor": "blue" | |
}, | |
{ | |
"type": "wm", | |
"key": "│ ├", | |
"keyColor": "blue" | |
}, | |
{ | |
"type": "wmtheme", | |
"key": "│ ├", | |
"keyColor": "blue" | |
}, | |
{ | |
"type": "terminal", | |
"key": "└ └", | |
"keyColor": "blue" | |
}, | |
{ | |
"type": "custom", | |
"format": "\u001b[90m└────────────────────────────────────────────────────┘" | |
}, | |
"break", | |
{ | |
"type": "custom", | |
"format": "\u001b[90m┌─────────────────Uptime / Age / DT──────────────────┐" | |
}, | |
{ | |
"type": "command", | |
"key": " OS Age ", | |
"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" | |
}, | |
{ | |
"type": "uptime", | |
"key": " Uptime ", | |
"keyColor": "magenta" | |
}, | |
{ | |
"type": "datetime", | |
"key": " DateTime ", | |
"keyColor": "magenta" | |
}, | |
{ | |
"type": "custom", | |
"format": "\u001b[90m└────────────────────────────────────────────────────┘" | |
}, | |
"break", | |
] | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment