diff options
| author | Pavel Egorov <[email protected]> | 2025-03-11 19:16:18 +0300 |
|---|---|---|
| committer | Pavel Egorov <[email protected]> | 2025-03-11 19:16:18 +0300 |
| commit | 05a8b40fadbb2bd790b626a8e6b4a795ac6013fc (patch) | |
| tree | 0e44f6e7bfe5f2f66d93ff332c0f308eedd0f3be /.config/fastfetch/config.jsonc | |
| parent | 32c21bf586a6669b66fcaa2a08e441db9e8cc9b7 (diff) | |
| download | dotfiles-05a8b40fadbb2bd790b626a8e6b4a795ac6013fc.tar.gz dotfiles-05a8b40fadbb2bd790b626a8e6b4a795ac6013fc.zip | |
[fastfetch] Customized config
Diffstat (limited to '.config/fastfetch/config.jsonc')
| -rw-r--r-- | .config/fastfetch/config.jsonc | 245 |
1 files changed, 217 insertions, 28 deletions
diff --git a/.config/fastfetch/config.jsonc b/.config/fastfetch/config.jsonc index b8f605b..1b54eb8 100644 --- a/.config/fastfetch/config.jsonc +++ b/.config/fastfetch/config.jsonc | |||
| @@ -1,34 +1,223 @@ | |||
| 1 | { | 1 | { |
| 2 | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", | 2 | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
| 3 | "logo": { | ||
| 4 | "padding": { | ||
| 5 | "left": 3, | ||
| 6 | "right": 3, | ||
| 7 | "top": 3 | ||
| 8 | } | ||
| 9 | }, | ||
| 10 | "display": { | ||
| 11 | "constants": [ | ||
| 12 | "\u001b[38;2;0;255;0m", // Software color = 1 | ||
| 13 | "\u001b[38;2;0;255;60m", // OS color = 2 | ||
| 14 | "\u001b[38;2;0;255;120m", // Terminal color = 3 | ||
| 15 | "\u001b[38;2;0;255;180m", // DE color = 4 | ||
| 16 | "\u001b[38;2;0;255;240m", // Development color = 5 | ||
| 17 | "\u001b[38;2;255;255;0m", // Hardware color = 6 | ||
| 18 | "\u001b[38;2;255;180;0m", // Chassis color = 7 | ||
| 19 | "\u001b[38;2;195;120;225m" // Misc info color = 8 | ||
| 20 | ] | ||
| 21 | }, | ||
| 3 | "modules": [ | 22 | "modules": [ |
| 4 | "title", | 23 | // 1 Software |
| 5 | "separator", | 24 | { |
| 6 | "os", | 25 | "type": "custom", |
| 7 | "host", | 26 | "key": "{$1}Software" |
| 8 | "kernel", | 27 | }, |
| 9 | "uptime", | 28 | // 1.1 OS |
| 10 | "packages", | 29 | { |
| 11 | "shell", | 30 | "type": "os", |
| 12 | "display", | 31 | "key": "{$1}├─{#0} {$2}OS" |
| 13 | "de", | 32 | }, |
| 14 | "wm", | 33 | { |
| 15 | "wmtheme", | 34 | "type": "bootmgr", |
| 16 | "theme", | 35 | "key": "{$1}│{#0} {$2}├─ Boot", |
| 17 | "icons", | 36 | "format": "{name}" |
| 18 | "font", | 37 | }, |
| 19 | "cursor", | 38 | { |
| 20 | "terminal", | 39 | "type": "initsystem", |
| 21 | "terminalfont", | 40 | "key": "{$1}│{#0} {$2}├─ Init" |
| 22 | "cpu", | 41 | }, |
| 23 | "gpu", | 42 | { |
| 24 | "memory", | 43 | "type": "kernel", |
| 25 | "swap", | 44 | "key": "{$1}│{#0} {$2}├─ Kernel" |
| 26 | "disk", | 45 | }, |
| 27 | "localip", | 46 | { |
| 28 | "battery", | 47 | "type": "packages", |
| 29 | "poweradapter", | 48 | "key": "{$1}│{#0} {$2}└─ Packages" |
| 30 | "locale", | 49 | }, |
| 50 | |||
| 51 | // 1.2 Terminal | ||
| 52 | { | ||
| 53 | "type": "terminal", | ||
| 54 | "key": "{$1}├─{#0} {$3}Terminal" | ||
| 55 | }, | ||
| 56 | { | ||
| 57 | "type": "terminalfont", | ||
| 58 | "key": "{$1}│{#0} {$3}├─ Font" | ||
| 59 | }, | ||
| 60 | { | ||
| 61 | "type": "shell", | ||
| 62 | "key": "{$1}│{#0} {$3}└─ Shell" | ||
| 63 | }, | ||
| 64 | |||
| 65 | // 1.3 DE | ||
| 66 | { | ||
| 67 | "type": "de", | ||
| 68 | "key": "{$1}├─{#0} {$4}DE" | ||
| 69 | }, | ||
| 70 | { | ||
| 71 | "type": "lm", | ||
| 72 | "key": "{$1}│{#0} {$4}├─ LM" | ||
| 73 | }, | ||
| 74 | { | ||
| 75 | "type": "icons", | ||
| 76 | "key": "{$1}│{#0} {$4}├─ Icons" | ||
| 77 | }, | ||
| 78 | { | ||
| 79 | "type": "cursor", | ||
| 80 | "key": "{$1}│{#0} {$4}├─ Cursor" | ||
| 81 | }, | ||
| 82 | { | ||
| 83 | "type": "font", | ||
| 84 | "key": "{$1}│{#0} {$4}├─ Font" | ||
| 85 | }, | ||
| 86 | { | ||
| 87 | "type": "icons", | ||
| 88 | "key": "{$1}│{#0} {$4}├─ Icons" | ||
| 89 | }, | ||
| 90 | { | ||
| 91 | "type": "theme", | ||
| 92 | "key": "{$1}│{#0} {$4}└─ Theme" | ||
| 93 | }, | ||
| 94 | // 1.4 Development | ||
| 95 | { | ||
| 96 | "type": "custom", | ||
| 97 | "key": "{$1}└─{#0} {$5}Development" | ||
| 98 | }, | ||
| 99 | { | ||
| 100 | "type": "editor", | ||
| 101 | "key": "{#0} {$5}├─ Editor" | ||
| 102 | }, | ||
| 103 | { | ||
| 104 | "type": "command", | ||
| 105 | "key": "{#0} {$5}├─ Git", | ||
| 106 | "text": "git --version", | ||
| 107 | "format": "{~12}" | ||
| 108 | }, | ||
| 109 | { | ||
| 110 | "type": "command", | ||
| 111 | "key": "{#0} {$5}├─ Python", | ||
| 112 | "text": "python --version", | ||
| 113 | "format": "{~7}" | ||
| 114 | }, | ||
| 115 | { | ||
| 116 | "type": "command", | ||
| 117 | "key": "{#0} {$5}├─ GCC", | ||
| 118 | "text": "gcc --version | head -1 | cut -d ' ' -f 3", | ||
| 119 | "format": "{}" | ||
| 120 | }, | ||
| 121 | { | ||
| 122 | "type": "command", | ||
| 123 | "key": "{#0} {$5}├─ Clang", | ||
| 124 | "text": "clang --version | head -1 | cut -d ' ' -f 3", | ||
| 125 | "format": "{}" | ||
| 126 | }, | ||
| 127 | { | ||
| 128 | "type": "command", | ||
| 129 | "key": "{#0} {$5}└─ NodeJS", | ||
| 130 | "text": "node --version", | ||
| 131 | "format": "{~1}" | ||
| 132 | }, | ||
| 133 | |||
| 31 | "break", | 134 | "break", |
| 32 | "colors" | 135 | |
| 136 | // 2 Hardware | ||
| 137 | { | ||
| 138 | "type": "custom", | ||
| 139 | "key": "{$6}Hardware" | ||
| 140 | }, | ||
| 141 | // 2.1 Chassis | ||
| 142 | { | ||
| 143 | "type": "chassis", | ||
| 144 | "key": "{$6}├─{#0} {$7}Chassis" | ||
| 145 | }, | ||
| 146 | { | ||
| 147 | "type": "board", | ||
| 148 | "key": "{$6}│{#0} {$7}├─ Board" | ||
| 149 | }, | ||
| 150 | { | ||
| 151 | "type": "cpu", | ||
| 152 | "key": "{$6}│{#0} {$7}├─ CPU" | ||
| 153 | }, | ||
| 154 | { | ||
| 155 | "type": "gpu", | ||
| 156 | "key": "{$6}│{#0} {$7}├─ GPU", | ||
| 157 | "format": "[{type}] {vendor} {name}" | ||
| 158 | }, | ||
| 159 | { | ||
| 160 | "type": "gpu", | ||
| 161 | "key": "{$6}│{#0} {$7}│ └─ Driver", | ||
| 162 | "format": "{driver}" | ||
| 163 | }, | ||
| 164 | { | ||
| 165 | "type": "disk", | ||
| 166 | "key": "{$6}│{#0} {$7}├─ Disk" | ||
| 167 | }, | ||
| 168 | { | ||
| 169 | "type": "memory", | ||
| 170 | "key": "{$6}│{#0} {$7}└─ RAM" | ||
| 171 | }, | ||
| 172 | { | ||
| 173 | "type": "swap", | ||
| 174 | "key": "{$6}│{#0} {$7}└─ Swap" | ||
| 175 | }, | ||
| 176 | { | ||
| 177 | "type": "battery", | ||
| 178 | "key": "{$6}├─{#0} Battery" | ||
| 179 | }, | ||
| 180 | { | ||
| 181 | "type": "display", | ||
| 182 | "key": "{$6}└─{#0} {$6}Display" | ||
| 183 | }, | ||
| 184 | |||
| 185 | "break", | ||
| 186 | |||
| 187 | // Miscellaneous information | ||
| 188 | { | ||
| 189 | "type": "custom", | ||
| 190 | "key": "{$8}Miscellaneous information" | ||
| 191 | }, | ||
| 192 | { | ||
| 193 | "type": "datetime", | ||
| 194 | "key": "{$8}├─{#0} {$8}Date & Time" | ||
| 195 | }, | ||
| 196 | { | ||
| 197 | "type": "uptime", | ||
| 198 | "key": "{$8}├─{#0} {$8}Uptime" | ||
| 199 | }, | ||
| 200 | { | ||
| 201 | "type": "disk", | ||
| 202 | "key": "{$8}├─{#0} {$8}OS Age", | ||
| 203 | "folders": "/", | ||
| 204 | "format": "{days} days" | ||
| 205 | }, | ||
| 206 | { | ||
| 207 | "type": "media", | ||
| 208 | "key": "{$8}├─{#0} {$8}Now playing" | ||
| 209 | }, | ||
| 210 | { | ||
| 211 | "type": "version", | ||
| 212 | "key": "{$8}└─{#0} {$8}Fastfetch", | ||
| 213 | "format": "{version}" | ||
| 214 | }, | ||
| 215 | |||
| 216 | // Helps with last comma | ||
| 217 | "break", | ||
| 218 | { | ||
| 219 | "type": "colors", | ||
| 220 | "symbol": "star" | ||
| 221 | } | ||
| 33 | ] | 222 | ] |
| 34 | } | 223 | } |
