Skip to content

Instantly share code, notes, and snippets.

@ktkr3d
Last active October 4, 2026 17:40
Show Gist options
  • Select an option

  • Save ktkr3d/40805f88c7c72e67d9da5e28d5118fa8 to your computer and use it in GitHub Desktop.

Select an option

Save ktkr3d/40805f88c7c72e67d9da5e28d5118fa8 to your computer and use it in GitHub Desktop.
simple fastfetch config
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": null,
"display": {
"separator": " ",
"color": "white",
"constants": ["\u001b[37m", "\u001b[38;5;16m", "\u001b[38;5;17m", "\u001b[34m"]
},
"modules": [
"break",
{
"type": "custom",
"key": "╭───────────────────────────────────╮"
},
{
"type": "command",
"key": "│  hname ",
"text": "hostnamectl hostname",
"format": "{>22} │"
},
{
"type": "command",
"key": "│  uptime",
"text": "uptime -p | cut -d ' ' -f 2-",
"format": "{>22} │"
},
{
"type": "command",
"key": "│ 󰋊 disk ",
"text": "df -h / | awk 'NR==2{print $4 \" / \" $2}'",
"format": "{>22} │"
},
{
"type": "command",
"key": "│  mem ",
"text": "free -m | awk 'NR==2{printf \"%.2f GiB / %.2f GiB\",$3/1024,$2/1024}'",
"format": "{>22} │"
},
{
"type": "os",
"key": "│ 󰻀 distro",
"format": "{pretty-name>22} │"
},
{
"type": "kernel",
"key": "│  kernel",
"format": "{release>22} │"
},
{
"type": "packages",
"key": "│  pkgs ",
"format": "{all>22} │"
},
{
"type": "command",
"key": "│  user ",
"text": "echo $USER",
"format": "{>22} │"
},
{
"type": "shell",
"key": "│  shell ",
"format": "{pretty-name>22} │"
},
{
"type": "custom",
"key": "╰───────────────────────────────────╯"
},
"break"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment