Skip to content

Instantly share code, notes, and snippets.

@freepicheep
Created December 16, 2025 17:23
Show Gist options
  • Select an option

  • Save freepicheep/9ce4ac5e5e0ffdc4b1fb91f3d75e43a2 to your computer and use it in GitHub Desktop.

Select an option

Save freepicheep/9ce4ac5e5e0ffdc4b1fb91f3d75e43a2 to your computer and use it in GitHub Desktop.
freepicheep's fastfetch config
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
"padding": {
"top": 5,
"right": 6
}
},
"modules": [
"break",
{
"type": "custom",
"format": "\u001b[90m┌─────────────────────────Hardware─────────────────────────┐"
},
{
"type": "host",
"key": " PC",
"keyColor": "green"
},
{
"type": "cpu",
"key": "│ ├",
"showPeCoreCount": true,
"keyColor": "green"
},
{
"type": "gpu",
"key": "│ ├",
"detectionMethod": "pci",
"keyColor": "green"
},
{
"type": "display",
"key": "│ ├󱄄",
"keyColor": "green"
},
{
"type": "disk",
"key": "│ ├󰋊",
"keyColor": "green"
},
{
"type": "memory",
"key": "│ ├",
"keyColor": "green"
},
{
"type": "swap",
"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": "packages",
"key": "│ ├󰏖",
"keyColor": "yellow"
},
{
"type": "shell",
"key": "└ └",
"keyColor": "yellow"
},
"break",
{
"type": "de",
"key": " DE",
"keyColor": "magenta"
},
{
"type": "wm",
"key": "│ ├",
"keyColor": "magenta"
},
{
"type": "command",
"key": "│ ├󰉼",
"shell": "nu",
"keyColor": "magenta",
"text": "open ($env.HOME | path join '.config' 'ghostty' 'config') | grep '^theme =' | split row '= ' | get 1"
},
{
"type": "icons",
"key": "│ ├󰀻",
"keyColor": "magenta"
},
{
"type": "cursor",
"key": "│ ├",
"keyColor": "magenta"
},
{
"type": "terminalfont",
"key": "│ ├",
"keyColor": "magenta"
},
{
"type": "terminal",
"key": "└ └",
"keyColor": "magenta"
},
{
"type": "custom",
"format": "\u001b[90m└──────────────────────────────────────────────────────────┘"
},
"break",
{
"type": "custom",
"format": "\u001b[90m┌───────────────────────Uptime / Age───────────────────────┐"
},
{
"type": "command",
"key": " OS Age ",
"keyColor": "blue",
"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": "blue"
},
{
"type": "custom",
"format": "\u001b[90m└──────────────────────────────────────────────────────────┘"
},
"break"
]
}
@freepicheep
Copy link
Author

I'm using nushell for my shell, so you will need to update this command (lines 92-98) to an equivalent in bash if you don't have nushell installed.

{
  "type": "command",
  "key": "│ ├󰉼",
  "shell": "nu",
  "keyColor": "magenta",
  "text": "open ($env.HOME | path join '.config' 'ghostty' 'config') | grep '^theme =' | split row '= ' | get 1"
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment