| 1 | { |
| 2 | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
| 3 | "display": { |
| 4 | "separator": " " |
| 5 | }, |
| 6 | "modules": [ |
| 7 | { |
| 8 | "key": "╭───────────╮", |
| 9 | "type": "custom" |
| 10 | }, |
| 11 | { |
| 12 | "key": "│ {#31} user {#keys}│", |
| 13 | "type": "title", |
| 14 | "format": "{user-name}" |
| 15 | }, |
| 16 | { |
| 17 | "key": "│ {#32} display {#keys}│", |
| 18 | "type": "display", |
| 19 | "compactType": "original-with-refresh-rate" |
| 20 | }, |
| 21 | { |
| 22 | "key": "│ {#33} uptime {#keys}│", |
| 23 | "type": "uptime" |
| 24 | }, |
| 25 | { |
| 26 | "key": "│ {#34} install {#keys}│", |
| 27 | "type": "command", |
| 28 | "text": "birth_install=$(stat -c %W /); current=$(date +%s); time_progression=$((current - birth_install)); days_difference=$((time_progression / 86400)); echo $days_difference days" |
| 29 | }, |
| 30 | { |
| 31 | "key": "│ {#35} kernel {#keys}│", |
| 32 | "type": "kernel" |
| 33 | }, |
| 34 | { |
| 35 | "key": "│ {#36} desktop {#keys}│", |
| 36 | "type": "de" |
| 37 | }, |
| 38 | { |
| 39 | "key": "│ {#32} shell {#keys}│", |
| 40 | "type": "shell" |
| 41 | }, |
| 42 | { |
| 43 | "key": "│ {#33} cpu {#keys}│", |
| 44 | "type": "cpu", |
| 45 | "showPeCoreCount": true |
| 46 | }, |
| 47 | { |
| 48 | "key": "│ {#31} gpu {#keys}│", |
| 49 | "type": "gpu", |
| 50 | "format": "{2}" |
| 51 | }, |
| 52 | { |
| 53 | "key": "│ {#34} disk {#keys}│", |
| 54 | "type": "disk", |
| 55 | "folders": "/" |
| 56 | }, |
| 57 | { |
| 58 | "key": "│ {#35} memory {#keys}│", |
| 59 | "type": "memory" |
| 60 | }, |
| 61 | { |
| 62 | "key": "│ {#36} network {#keys}│", |
| 63 | "type": "localip", |
| 64 | "format": "{ipv4} ({ifname})" |
| 65 | }, |
| 66 | { |
| 67 | "key": "├───────────┤", |
| 68 | "type": "custom" |
| 69 | }, |
| 70 | { |
| 71 | "key": "│ {#39} colors {#keys}│", |
| 72 | "type": "colors", |
| 73 | "symbol": "circle" |
| 74 | }, |
| 75 | { |
| 76 | "key": "╰───────────╯", |
| 77 | "type": "custom" |
| 78 | } |
| 79 | ] |
| 80 | } |