11{
22 "$schema" : " https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json" ,
33 "logo" : {
4- "type " : " builtin " ,
5- "color " : {
6- "1 " : " white " ,
7- "2 " : " cyan "
8- }
4+ "padding " : {
5+ "top " : 2 ,
6+ "left " : 1 ,
7+ "right " : 2
8+ }
99 },
1010 "display" : {
11- "separator" : " " ,
12- "color" : " cyan"
11+ "separator" : " "
1312 },
1413 "modules" : [
15- {
16- "type" : " custom" , // HardwareStart
17- "format" : " ┌─────────── \u001b [1mHardware Information\u001b [0m ───────────┐" // `\u001b` is `\033`, or `\e`
18- },
19- {
20- "type" : " host" ,
21- "key" : " "
22- },
23- {
24- "type" : " cpu" ,
25- "key" : " "
26- },
27- {
28- "type" : " gpu" ,
29- "detectionMethod" : " pci" ,
30- "key" : " "
31- },
32- {
33- "type" : " display" ,
34- "key" : " "
35- },
36- {
37- "type" : " memory" ,
38- "key" : " "
39- },
40- {
41- "type" : " custom" , // SoftwareStart
42- "format" : " ├─────────── \u001b [1mSoftware Information\u001b [0m ───────────┤"
43- },
44- {
45- "type" : " os" ,
46- "key" : " " // Just get your distro's logo off nerdfonts.com,
47- },
48- {
49- "type" : " kernel" ,
50- "key" : " " ,
51- "format" : " {1} {2}"
52- },
53- {
54- "type" : " wm" ,
55- "key" : " "
56- },
57- {
58- "type" : " shell" ,
59- "key" : " "
60- },
61- {
62- "type" : " custom" ,
63- "format" : " |──────────────\u001b [1mUptime / Age\u001b [0m──────────────────|"
64- },
65- {
66- "type" : " command" ,
67- "key" : " OS Age " ,
68- "keyColor" : " magenta" ,
69- "text" : " birth_install=$(stat -c %W /); current=$(date +%s); time_progression=$((current - birth_install)); days_difference=$((time_progression / 86400)); echo $days_difference days"
70- },
71- {
72- "type" : " uptime" ,
73- "key" : " Uptime " ,
74- "keyColor" : " magenta"
75- },
76- {
77- "type" : " custom" , // InformationEnd
78- "format" : " └────────────────────────────────────────────┘"
79- },
80- {
81- "type" : " colors" ,
82- "paddingLeft" : 2 ,
83- "symbol" : " circle"
84- }
14+ // Title
15+ {
16+ "type" : " title" ,
17+ "format" : " {#1}╭───────────── {#}{user-name-colored}"
18+ },
19+ // System Information
20+ {
21+ "type" : " custom" ,
22+ "format" : " {#1}│ {#}System Information"
23+ },
24+ {
25+ "type" : " os" ,
26+ "key" : " {#separator}│ {#keys} OS"
27+ },
28+ {
29+ "type" : " kernel" ,
30+ "key" : " {#separator}│ {#keys} Kernel"
31+ },
32+ {
33+ "type" : " uptime" ,
34+ "key" : " {#separator}│ {#keys} Uptime"
35+ },
36+ {
37+ "type" : " packages" ,
38+ "key" : " {#separator}│ {#keys} Packages" ,
39+ "format" : " {all}"
40+ },
41+ {
42+ "type" : " custom" ,
43+ "format" : " {#1}│"
44+ },
45+ // Desktop Environment
46+ {
47+ "type" : " custom" ,
48+ "format" : " {#1}│ {#}Desktop Environment"
49+ },
50+ {
51+ "type" : " de" ,
52+ "key" : " {#separator}│ {#keys} DE"
53+ },
54+ {
55+ "type" : " wm" ,
56+ "key" : " {#separator}│ {#keys} WM"
57+ },
58+ {
59+ "type" : " wmtheme" ,
60+ "key" : " {#separator}│ {#keys} Theme"
61+ },
62+ {
63+ "type" : " display" ,
64+ "key" : " {#separator}│ {#keys} Resolution"
65+ },
66+ {
67+ "type" : " shell" ,
68+ "key" : " {#separator}│ {#keys} Shell"
69+ },
70+ {
71+ "type" : " terminalfont" ,
72+ "key" : " {#separator}│ {#keys} Font"
73+ },
74+ {
75+ "type" : " custom" ,
76+ "format" : " {#1}│"
77+ },
78+ // Hardware Information
79+ {
80+ "type" : " custom" ,
81+ "format" : " {#1}│ {#}Hardware Information"
82+ },
83+ {
84+ "type" : " cpu" ,
85+ "key" : " {#separator}│ {#keys} CPU"
86+ },
87+ {
88+ "type" : " gpu" ,
89+ "key" : " {#separator}│ {#keys} GPU"
90+ },
91+ {
92+ "type" : " memory" ,
93+ "key" : " {#separator}│ {#keys} Memory"
94+ },
95+ {
96+ "type" : " disk" ,
97+ "key" : " {#separator}│ {#keys} Disk (/)" ,
98+ "folders" : " /"
99+ },
100+ {
101+ "type" : " custom" ,
102+ "format" : " {#1}│"
103+ },
104+ // Colors
105+ {
106+ "type" : " colors" ,
107+ "key" : " {#separator}│" ,
108+ "symbol" : " circle"
109+ },
110+ // Footer
111+ {
112+ "type" : " custom" ,
113+ "format" : " {#1}╰───────────────────────────────╯"
114+ }
85115 ]
86- }
116+ }
0 commit comments