Skip to content

Instantly share code, notes, and snippets.

@rochacbruno
Last active November 1, 2025 00:30
Show Gist options
  • Select an option

  • Save rochacbruno/29ec02739769e1414ad28d060bb85c64 to your computer and use it in GitHub Desktop.

Select an option

Save rochacbruno/29ec02739769e1414ad28d060bb85c64 to your computer and use it in GitHub Desktop.
fastfetch niri + dms + fedora
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
"type": "auto",
"height": 10,
"width": 15,
"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": "command",
"key": "│ ├",
"keyColor": "blue",
"text": "echo Wayland $(pkg-config --modversion wayland-client)"
},
{
"type": "command",
"key": "│ ├",
"keyColor": "blue",
"text": "niri --version"
},
{
"type": "command",
"key": "│ ├",
"keyColor": "blue",
"text": "qs --version | cut -d',' -f1"
},
{
"type": "command",
"key": "│ ├",
"keyColor": "blue",
"text": "echo DMS $(dms version | tail -n1)"
},
{
"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