config.jsonc
1 { 2 "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", 3 "logo": { 4 "type": "kitty-direct", 5 "source": "~/MFarabi619/assets/freebsd-symbol-orb.png", 6 "height": 28, 7 "width": 64, 8 "padding": { 9 "top": 5 10 }, 11 }, 12 "display": { 13 "color": { 14 "keys": "red" 15 }, 16 "separator": "", 17 "constants": [ 18 "──────────────────────────────────────────────", 19 "\u001b[47D", 20 "\u001b[47C", 21 "\u001b[46C" 22 ], 23 "bar": { 24 "char": { 25 "Elapsed": "=", 26 }, 27 "charTotal": "-", 28 "width": 6 29 }, 30 "percent": { 31 "type": 3 32 }, 33 "brightColor": true, 34 }, 35 "modules": [ 36 { 37 "type": "kernel", 38 "key": "┌───────────────┬─{$1}┐\u001b[46D", 39 "format": "\u001b[1m{#keys} {1} {2} ", 40 "brightColor": true 41 }, 42 // Hardware 43 { 44 "type": "custom", 45 "key": "│{#cyan}┌──────────────┬{$1}┐{#keys}│\u001b[37D", 46 "format": "{#bright_cyan} HARDWARE " 47 }, 48 { 49 "type": "host", 50 "key": "│{#cyan}│ Chassis │{$4}│{#keys}│{$2}" 51 }, 52 { 53 "type": "cpu", 54 "key": "│{#cyan}│ {icon} CPU │{$4}│{#keys}│{$2}", 55 "showPeCoreCount": true 56 }, 57 { 58 "type": "gpu", 59 "key": "│{#cyan}│ {icon} GPU │{$4}│{#keys}│{$2}" 60 }, 61 { 62 "type": "memory", 63 "key": "│{#cyan}│ {icon} RAM │{$4}│{#keys}│{$2}" 64 }, 65 { 66 "type": "swap", 67 "key": "│{#cyan}│ {icon} Swap │{$4}│{#keys}│{$2}" 68 }, 69 { 70 "type": "disk", 71 "key": "│{#cyan}│ {icon} Disk │{$4}│{#keys}│{$2}", 72 // "format": "{size-used} \/ {size-total} ({size-percentage}) - {filesystem}", 73 }, 74 { 75 "type": "battery", 76 "key": "│{#cyan}│ {icon} Battery │{$4}│{#keys}│{$2}" 77 }, 78 { 79 "type": "custom", 80 "key": "│{#cyan}└──────────────┴{$1}┘{#keys}│", 81 "format": "" 82 }, 83 84 // Desktop 85 { 86 "type": "custom", 87 "key": "│{#green}┌──────────────┬{$1}┐{#keys}│\u001b[37D", 88 "format": "{#bright_green} DESKTOP " 89 }, 90 { 91 "type": "de", 92 "key": "│{#green}│ {icon} Desktop │{$4}│{#keys}│{$2}" 93 }, 94 { 95 "type": "wm", 96 "key": "│{#green}│ {icon} Session │{$4}│{#keys}│{$2}" 97 }, 98 { 99 "type": "display", 100 "key": "│{#green}│ {icon} Display │{$4}│{#keys}│{$2}", 101 "compactType": "original-with-refresh-rate" 102 }, 103 { 104 "type": "gpu", 105 "key": "│{#green}│ {icon} G-Driver │{$4}│{#keys}│{$2}", 106 "format": "{driver}" 107 }, 108 { 109 "type": "custom", 110 "key": "│{#green}└──────────────┴{$1}┘{#keys}│", 111 "format": "" 112 }, 113 114 // Terminal 115 { 116 "type": "custom", 117 "key": "│{#yellow}┌──────────────┬{$1}┐{#keys}│\u001b[37D", 118 "format": "{#bright_yellow} TERMINAL " 119 }, 120 { 121 "type": "shell", 122 "key": "│{#yellow}│ {icon} Shell │{$4}│{#keys}│{$2}" 123 }, 124 { 125 "type": "terminal", 126 "key": "│{#yellow}│ {icon} Emulator │{$4}│{#keys}│{$2}" 127 }, 128 { 129 "type": "terminalfont", 130 "key": "│{#yellow}│ {icon} Font │{$4}│{#keys}│{$2}" 131 }, 132 { 133 "type": "terminaltheme", 134 "key": "│{#yellow}│ {icon} Colors │{$4}│{#keys}│{$2}" 135 }, 136 { 137 "type": "packages", 138 "key": "│{#yellow}│ Packages │{$4}│{#keys}│{$2}" 139 }, 140 { 141 "type": "custom", 142 "key": "│{#yellow}└──────────────┴{$1}┘{#keys}│", 143 "format": "" 144 }, 145 146 // Development 147 { 148 "type": "custom", 149 "key": "│{#1;38;5;208}┌──────────────┬{$1}┐{#keys}│\u001b[39D", 150 "format": "{#1;38;5;208} DEVELOPMENT " 151 }, 152 { 153 "type": "command", 154 "keyIcon": "", 155 "key": "│{#1;38;5;208}│ {icon} Rust │{$4}│{#keys}│{$2}", 156 "text": "rustc --version | cut -d' ' -f2", 157 "format": "rustc {}" 158 }, 159 { 160 "type": "command", 161 "keyIcon": "", 162 "key": "│{#1;38;5;208}│ {icon} Clang │{$4}│{#keys}│{$2}", 163 "text": "clang --version | head -1 | awk '{print $NF}'", 164 "format": "clang {}" 165 }, 166 { 167 "type": "command", 168 "keyIcon": "", 169 "key": "│{#1;38;5;208}│ {icon} NodeJS │{$4}│{#keys}│{$2}", 170 "text": "node --version", 171 "format": "node {~1}" 172 }, 173 { 174 "type": "command", 175 "keyIcon": "", 176 "key": "│{#1;38;5;208}│ {icon} Go │{$4}│{#keys}│{$2}", 177 "text": "go version | cut -d' ' -f3", 178 "format": "go {~2}" 179 }, 180 { 181 "type": "command", 182 "keyIcon": "", 183 "key": "│{#1;38;5;208}│ {icon} Zig │{$4}│{#keys}│{$2}", 184 "text": "zig version", 185 "format": "zig {}" 186 }, 187 { 188 "type": "editor", 189 "key": "│{#1;38;5;208}│ {icon} Editor │{$4}│{#keys}│{$2}" 190 }, 191 { 192 "type": "command", 193 "keyIcon": "", 194 "key": "│{#1;38;5;208}│ {icon} Git │{$4}│{#keys}│{$2}", 195 "text": "git version", 196 "format": "git {~12}" 197 }, 198 { 199 "type": "font", 200 "key": "│{#1;38;5;208}│ {icon} Interface │{$4}│{#keys}│{$2}" 201 }, 202 { 203 "type": "custom", 204 "key": "│{#1;38;5;208}└──────────────┴{$1}┘{#keys}│", 205 "format": "" 206 }, 207 208 // Uptime 209 { 210 "type": "custom", 211 "key": "│{#magenta}┌──────────────┬{$1}┐{#keys}│\u001b[36D", 212 "format": "{#bright_magenta} GENERAL " 213 }, 214 { 215 "type": "uptime", 216 "key": "│{#magenta}│ {icon} Uptime │{$4}│{#keys}│{$2}" 217 }, 218 { 219 "type": "users", 220 "myselfOnly": true, 221 "keyIcon": "", 222 "key": "│{#magenta}│ {icon} Login │{$4}│{#keys}│{$2}" 223 }, 224 { 225 "type": "datetime", 226 "key": "│{#magenta}│ {icon} Fetched │{$4}│{#keys}│{$2}" 227 }, 228 { 229 "type": "locale", 230 "key": "│{#magenta}│ {icon} Locale │{$4}│{#keys}│{$2}" 231 }, 232 { 233 "type": "disk", 234 "keyIcon": "", 235 "key": "│{#magenta}│ {icon} Age │{$4}│{#keys}│{$2}", 236 "folders": "/", // On macOS, "/System/Volumes/VM" works for me 237 "format": "{create-time:10} [{days} days]" 238 }, 239 { 240 "type": "custom", 241 "key": "│{#magenta}└──────────────┴{$1}┘{#keys}│", 242 "format": "" 243 }, 244 { 245 "type": "custom", 246 "key": "└─────────────────{$1}┘", 247 "format": "" 248 }, 249 { 250 "type": "colors", 251 "paddingLeft": 2, 252 "symbol": "star" 253 }, 254 // End 255 "break", 256 ] 257 }