fastfetch config.jsonc

 avatar
unknown
json
2 months ago
10 kB
58
No Index
{
  "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
  "logo": {
    "type": "kitty",
    "source": "/home/rhyvor/.config/custom/sprite/TatlochSprite_8x.png",
    "width": 24,
    "position": "left",
    "padding": {
      "left": 2,
      "right": 2,
      "top": 6
    }
  },
  "display": {
    "brightColor": true,
    "separator": "",
    "constants": [
      "\u001b[s\u001b[116G\u001b[32m│\u001b[0m\u001b[u",
      // {$1} - 32 green
      "\u001b[s\u001b[116G\u001b[31m│\u001b[0m\u001b[u",
      // {$2} - 31 red
      "\u001b[s\u001b[116G\u001b[36m│\u001b[0m\u001b[u",
      // {$3} - 36 cyan
      "\u001b[s\u001b[116G\u001b[33m│\u001b[0m\u001b[u",
      // {$4} - 33 yellow
    ],
    "bar": {
      "width": 32,
      "char": {
        "elapsed": "▪",
        "total": "⬝"
      },
      "border": {
        "left": "⟮",
        "right": "⟯"
      }
    },
    "percent": {
      "type": 11,
      "ndigits": 2
    },
    "key": {
      "width": 22
    }
  },
  "modules": [
    "break",
    {
      "type": "title",
      "key": "    \uF415 ",
      "keyWidth": 8,
      "keyColor": "green",
      "format": "{#32}{user-name}{at-symbol-colored}{host-name}"
    },
    {
      "type": "datetime",
      "key": "    \uF455 ",
      "keyWidth": 8,
      "keyColor": "white",
      "format": "{year}-{month-pretty}-{day-pretty} {hour-pretty}:{minute-pretty}:{second-pretty} ({timezone-name})"
    },
    {
      "key": "    \uEFCC  ",
      "keyColor": "white",
      "keyWidth": 8,
      "type": "colors",
      "symbol": "circle"
    },
    {
      "type": "custom",
      "key": "╭── System ────────┬───────────────────────────────────────────────────────────────────╮",
      "keyColor": "green"
    },
    {
      "type": "chassis",
      "key": "│ ┌─\uF4B3      Device: │",
      "keyColor": "green",
      "format": "{$1}{vendor} {version} ({type})"
    },
    {
      "type": "os",
      "key": "│ ├─\uF31A          OS: │",
      "keyColor": "green",
      "format": "{$1}{pretty-name} - {arch}"
    },
    {
      "type": "kernel",
      "key": "│ ├─\uF013      Kernel: │",
      "keyColor": "green",
      "format": "{$1}{release}"
    },
    {
      "type": "bios",
      "key": "│ ├─\uEABE        BIOS: │",
      "keyColor": "green",
      "format": "{$1}{version} {release} - {date}"
    },
    {
      "type": "bootmgr",
      "key": "│ ├─\uEC19    Boot Mgr: │",
      "keyColor": "green",
      "format": "{$1}{name} ({firmware-name}) - Secure Boot: {?secure-boot}{#green}Enabled{#}{?}{/secure-boot}{#red}Disabled{#}{/}"
    },
    {
      "type": "packages",
      "key": "│ ├─\uDB80\uDFD6    Packages: │",
      "keyColor": "green",
      "format": "{$1}pacman: {pacman}"
    },
    {
      "type": "terminal",
      "key": "│ ├─\uE795    Terminal: │",
      "keyColor": "green",
      "format": "{$1}{pretty-name} {version}"
    },
    {
      "type": "shell",
      "key": "│ ├─\uF489       Shell: │",
      "keyColor": "green",
      "format": "{$1}{pretty-name} {version}"
    },
    {
      "type": "terminalfont",
      "key": "│ ├─\uF031        Font: │",
      "keyColor": "green",
      "format": "{$1}{combined}"
    },
    {
      "type": "uptime",
      "key": "│ ├─\uDB80\uDD50      Uptime: │",
      "keyColor": "green",
      "format": "{$1}{days} days, {hours} hours, {minutes} minutes, {seconds} seconds"
    },
    {
      "type": "command",
      "key": "│ └─\uF274 Install Age: │",
      "keyColor": "green",
      "text": "birth_install=$(stat -c %Y /lost\\+found 2>/dev/null || stat -c %Y / 2>/dev/null || date +%s); total_seconds=$((($(date +%s) - birth_install))); days=$((total_seconds / 86400)); hours=$(((total_seconds % 86400) / 3600)); minutes=$(((total_seconds % 3600) / 60)); seconds=$((total_seconds % 60)); echo \"$days days, $hours hours, $minutes minutes, $seconds seconds\"",
      "format": "{$1}{result}"
    },
    {
      "type": "custom",
      "key": "╰──────────────────┴───────────────────────────────────────────────────────────────────╯",
      "keyColor": "green"
    },
    {
      "type": "custom",
      "key": "╭── Hardware ──────┬───────────────────────────────────────────────────────────────────╮",
      "keyColor": "red"
    },
    {
      "type": "display",
      "key": "│ ┌─\uDB80\uDF79     Display: │",
      "keyColor": "red",
      "format": "{$2}{width} x {height} {inch}\" @ {refresh-rate}Hz ({type})"
    },
    {
      "type": "cpu",
      "key": "│ ├─\uF2DB         CPU: │",
      "keyColor": "red",
      "temp": true,
      "format": "{$2}{name} ({cores-physical}C/{cores-logical}T) @ {freq-max} - {temperature}"
    },
    {
      "type": "gpu",
      "key": "│ ├─\uDB82\uDCAE         GPU: │",
      "keyColor": "red",
      "format": "{$2}{name} ({type})"
    },
    {
      "type": "opengl",
      "key": "│ ├─\uE855      OpenGL: │",
      "keyColor": "red",
      "format": "{$2}{version}"
    },
    {
      "type": "vulkan",
      "key": "│ ├─\uDB86\uDE83      Vulkan: │",
      "keyColor": "red",
      "format": "{$2}{api-version} {driver}"
    },
    {
      "type": "memory",
      "key": "│ ├─\uEFC5         RAM: │",
      "keyColor": "red",
      "format": "{$2}{percentage-bar} {used} / {total} ({percentage})"
    },
    {
      "type": "disk",
      "key": "│ ├─\uF0A0        Disk: │",
      "keyColor": "red",
      "format": "{$2}{size-percentage-bar} {size-used} / {size-total} ({size-percentage})"
    },
    {
      "type": "swap",
      "key": "│ ├─\uDB81\uDCE1        Swap: │",
      "keyColor": "red",
      "format": "{$2}{percentage-bar} {used} / {total} ({percentage})"
    },
    {
      "type": "battery",
      "key": "│ └─\uF242     Battery: │",
      "keyColor": "red",
      "format": "{$2}{capacity-bar} {capacity} ({status})"
    },
    {
      "type": "custom",
      "key": "╰──────────────────┴───────────────────────────────────────────────────────────────────╯",
      "keyColor": "red"
    },
    {
      "type": "custom",
      "key": "╭── Desktop ───────┬───────────────────────────────────────────────────────────────────╮",
      "keyColor": "cyan"
    },
    {
      "type": "de",
      "key": "│ ┌─\uF373 Desktop Env: │",
      "keyColor": "cyan",
      "format": "{$3}{pretty-name} {version}"
    },
    {
      "type": "wm",
      "key": "│ ├─\uDB81\uDD6E  Window Mgr: │",
      "keyColor": "cyan",
      "format": "{$3}{pretty-name} - {protocol-name}"
    },
    {
      "type": "lm",
      "key": "│ ├─\uDB82\uDDE8   Login Mgr: │",
      "keyColor": "cyan",
      "format": "{$3}{service} - {type}"
    },
    {
      "type": "wmtheme",
      "key": "│ ├─\uF40F    WM Theme: │",
      "keyColor": "cyan",
      "format": "{$3}{result}"
    },
    {
      "type": "theme",
      "key": "│ ├─\uDB80\uDE7C Color Theme: │",
      "keyColor": "cyan",
      "format": "{$3}{theme1} {theme2}"
    },
    {
      "type": "icons",
      "key": "│ ├─\uDB83\uDE09  Icon Theme: │",
      "keyColor": "cyan",
      "format": "{$3}{icons1} {icons2}"
    },
    {
      "type": "font",
      "key": "│ ├─\uF031        Font: │",
      "keyColor": "cyan",
      "format": "{$3}{combined}"
    },
    {
      "type": "cursor",
      "key": "│ └─\uF245      Cursor: │",
      "keyColor": "cyan",
      "format": "{$3}{theme} ({size}px)"
    },
    {
      "type": "custom",
      "key": "╰──────────────────┴───────────────────────────────────────────────────────────────────╯",
      "keyColor": "cyan"
    },
    {
      "type": "custom",
      "key": "╭── Connectivity ──┬───────────────────────────────────────────────────────────────────╮",
      "keyColor": "yellow"
    },
    {
      "type": "localip",
      "key": "│ ┌─\uDB82\uDE5F    Local IP: │",
      "keyColor": "yellow",
      "format": "{$4}{ipv4} {ipv6}"
    },
    {
      "type": "wifi",
      "key": "│ ├─\uDB81\uDC69        SSID: │",
      "keyColor": "yellow",
      "format": "{$4}{ssid} - {security} {protocol}"
    },
    {
      "type": "wifi",
      "key": "│ ├─\uF43C      Signal: │",
      "keyColor": "yellow",
      "format": "{$4}{signal-quality-bar} ({signal-quality}) Status: {?status}{#green}Connected{#}{?}{/status}{#red}Disconnected{#}{/}"
    },
    {
      "type": "bluetooth",
      "key": "│ └─\uF294   Bluetooth: │",
      "keyColor": "yellow",
      "showDisconnected": true,
      "format": "{$4}{name} - Status: {?connected}{#green}Connected{#}{?}{/connected}{#red}Disconnected{#}{/}"
    },
    {
      "type": "custom",
      "key": "╰──────────────────┴───────────────────────────────────────────────────────────────────╯",
      "keyColor": "yellow"
    }
  ]
}
Editor is loading...