master ohmu/fastfetch-openbsd / presets / examples / 26.jsonc
ohmu  ·  2026-10-15
  1// Modified from: 24.jsonc
  2{
  3    "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
  4    "logo": {
  5      "padding": {
  6        "top": 2
  7      }
  8    },
  9    "display": {
 10      "separator": "",
 11      "constants": [
 12        // CONSTANT {$1} - VERTICAL BARS AT START AND 75th CHARACTERS FORWARD AND BACKWARD
 13        "\u001b[90m│                                                            │\u001b[60D\u001b[39m"
 14      ]
 15    },
 16    "modules": [
 17      // CUSTOM - Top UI bar
 18      {
 19        "type": "custom",
 20        "key": "{#90}╭ Keys ───────╮",
 21        "format": "{#90}╭ Values ────────────────────────────────────────────────────╮",
 22      },
 23      {
 24        "type": "title",
 25        "key": "{#90}│ {#92}User        {#90}│",
 26        "format": "{$1}{user-name}  {#2}[{home-dir}]"
 27      },
 28      {
 29        "type": "users",
 30        "key": "{#90}│ {#92}Users       {#90}│",
 31        "myselfOnly": false,
 32        "format": "{$1}{1}@{host-name}{/host-name}localhost{/}{?client-ip}  {#2}[IP:{client-ip}]{?}  [Login time: {login-time}]"
 33      },
 34      {
 35        "type": "datetime",
 36        "key": "{#90}│ {#92}Datetime    {#90}│",
 37        "format": "{$1}{year}-{month-pretty}-{day-in-month} {hour-pretty}:{minute-pretty}:{second-pretty}  {#2}[{weekday}] [W{week}] [UTC{offset-from-utc}]"
 38      },
 39      {
 40        "type": "title",
 41        "key": "{#90}│ {#93}Host        {#90}│",
 42        "format": "{$1}{host-name}"
 43      },
 44      {
 45        "type": "host",
 46        "key": "{#90}│ {#93}Machine     {#90}│",
 47        "format": "{$1}{name}  {#2}{version}"
 48      },
 49      {
 50        "type": "os",
 51        "key": "{#90}│ {#93}OS          {#90}│",
 52        "format": "{$1}{?pretty-name}{pretty-name}{?}{/pretty-name}{name}{/} {codename}  {#2}[v{version}] [{arch}]"
 53      },
 54      {
 55        "type": "kernel",
 56        "key": "{#90}│ {#93}Kernel      {#90}│",
 57        "format": "{$1}{sysname}  {#2}[v{release}]"
 58      },
 59      {
 60        "type": "uptime",
 61        "key": "{#90}│ {#93}Uptime      {#90}│",
 62        "format": "{$1}{?days}{days} Days + {?}{hours}:{minutes}:{seconds}"
 63      },
 64      {
 65        "type": "cpu",
 66        "key": "{#90}│ {#91}CPU         {#90}│",
 67        "showPeCoreCount": true,
 68        "temp": true,
 69        "format": "{$1}{name}  {#2}[C:{core-types}] [{freq-max}]"
 70      },
 71      {
 72        "type": "gpu",
 73        "key": "{#90}│ {#91}GPU         {#90}│",
 74        "detectionMethod": "auto",
 75        "driverSpecific": true,
 76        "format": "{$1}{name}  {#2}[C:{core-count}]{?frequency} [{frequency}]{?} {#2}[{type}]"
 77      },
 78      {
 79        "type": "memory",
 80        "key": "{#90}│ {#91}Memory      {#90}│",
 81        "format": "{$1}{used} / {total} ({percentage})"
 82      },
 83      {
 84        "type": "disk",
 85        "key": "{#90}│ {#91}Disk        {#90}│",
 86        "format": "{$1}{size-used} / {size-total} ({size-percentage})"
 87      },
 88      {
 89        "type": "poweradapter",
 90        "key": "{#90}│ {#91}Power       {#90}│",
 91        "format": "{$1}{name}"
 92      },
 93      {
 94        "type": "terminal",
 95        "key": "{#90}│ {#95}Terminal    {#90}│",
 96        "format": "{$1}{pretty-name}  {#2}[{version}] [PID:{pid}]"
 97      },
 98      {
 99        "type": "terminalfont",
100        "key": "{#90}│ {#95}Font        {#90}│",
101        "format": "{$1}{name}  {#2}[{size}]"
102      },
103      {
104        "type": "shell",
105        "key": "{#90}│ {#95}Shell       {#90}│",
106        "format": "{$1}{pretty-name}  {#2}[v{version}] [PID:{pid}]"
107      },
108      {
109        // localip IPv4
110        "type": "localip",
111        "key": "{#90}│ {#94}Local IPv4  {#90}│",
112        "showPrefixLen": true,
113        "showIpv4": true,
114        "showIpv6": false,
115        "showMtu": true,
116        "format": "{$1}{ifname}: {ipv4}  {#2}[MTU:{mtu}]"
117      },
118      {
119        // localip IPv6
120        "type": "localip",
121        "key": "{#90}│ {#94}Local IPv6  {#90}│",
122        "showPrefixLen": true,
123        "showIpv4": false,
124        "showIpv6": true,
125        "showMtu": true,
126        "format": "{$1}{ifname}: {ipv6}  {#2}[MTU:{mtu}]"
127      },
128      {
129        "type": "publicip",
130        "key": "{#90}│ {#94}Public IPv4 {#90}│",
131        "ipv6": false,
132        "format": "{$1}{ip}  {#2}[{location}]"
133      },
134      {
135        "type": "publicip",
136        "key": "{#90}│ {#94}Public IPv6 {#90}│",
137        "ipv6": true,
138        "format": "{$1}{ip}  {#2}[{location}]"
139      },
140      // CUSTOM - Button UI bar
141      {
142        "type": "custom",
143        "key": "{#90}╰─────────────╯",
144        "format": "{#90}╰────────────────────────────────────────────────────────────╯",
145      },
146      "break",
147      {
148        "type": "custom",
149        "key": " ",
150        "format": "{#90}╭ Colors ───────────────────────────────────────────────────────────────────╮",
151      },
152      {
153        "type": "custom",
154        "format": "{#90}│ {#40}    {#41}    {#42}    {#43}    {#44}    {#45}    {#46}    {#47}    {#}                                          {#90}│",
155      },
156      {
157        "type": "custom",
158        "format": "{#90}│ {#100}    {#101}    {#102}    {#103}    {#104}    {#105}    {#106}    {#107}    {#}                                          {#90}│",
159      },
160      {
161        "type": "custom",
162        "format": "{#90}╰───────────────────────────────────────────────────────────────────────────╯",
163      },
164    ]
165  }