You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,16 @@
1
+
# 2.40.2
2
+
3
+
Changes:
4
+
* Since v2.40.0, we've been loading config files from the directory where the fastfetch binary is located. However, this approach may lead to loading unexpected files. For example, `fastfetch -c groups` would attempt to load `/usr/bin/groups`. Therefore, we now enforce the `.jsonc` extension when loading config files. Examples:
5
+
1.`-c filename`: loads `filename.jsonc`
6
+
2.`-c filename.jsonc`: loads `filename.jsonc`
7
+
3.`-c filename.json`: loads `filename.json` and enforces strict JSON syntax (no comments or trailing commas)
8
+
4.`-c filename.ext`: loads `filename.ext.jsonc` (`.jsonc` extension is enforced)
9
+
10
+
Features:
11
+
* Mark kitty image protocol support for warp terminal (Logo)
fastfetch \- a neofetch\-like tool for fetching system information and
5
-
displaying them in a pretty way
4
+
fastfetch \- a fast and customizable system information tool similar to neofetch
6
5
7
6
.SH SYNOPSIS
8
7
@@ -11,131 +10,213 @@ displaying them in a pretty way
11
10
12
11
.SH DESCRIPTION
13
12
14
-
Fastfetch is a neofetch\-like tool for fetching system information and
15
-
displaying them in a pretty way. It is written mainly in C, with performance
16
-
and customizability in mind.
17
-
Currently, Linux, Android, FreeBSD, MacOS and Windows 7+ are supported.
13
+
Fastfetch is a tool for displaying system information in a visually appealing way. Written primarily in C, it focuses on performance and customizability while providing functionality similar to neofetch.
14
+
It supports Linux, Android, *BSD, macOS, Haiku, and Windows 7 or newer.
18
15
19
16
.SH "EXIT STATUS"
20
17
21
-
On successful execution, fastfetch returns zero. If any error happened,
22
-
the exit code will be non\-zero.
18
+
Fastfetch returns zero on successful execution. Any errors result in a non-zero exit code.
23
19
24
20
.SH OPTIONS
25
21
26
22
.SS "Informative Options"
27
23
.TP
28
24
29
25
.B\-h,\-\-help\fI[command]
30
-
Show help output, displaying all available options or help for given command
26
+
Display help information for all available options or for a specific command
31
27
.TP
32
28
33
29
.B\-v,\-\-version
34
-
Show version of fastfetch
30
+
Display the version of fastfetch
31
+
.TP
32
+
33
+
.B\-\-version\-raw
34
+
Display the raw version string (major.minor.patch)
35
35
.TP
36
36
37
37
.B\-\-list\-config\-paths
38
-
List search paths of config files
38
+
List search paths for configuration files
39
39
.TP
40
40
41
41
.B\-\-list\-data\-paths
42
-
List search paths of presets and logos
42
+
List search paths for presets and logos
43
43
.TP
44
44
45
45
.B\-\-list\-logos
46
-
List available logos, they can be loaded with \fI\-\-logo
46
+
List available logos that can be loaded with \fI\-\-logo
47
47
.TP
48
48
49
49
.B\-\-list\-modules
50
-
List available modules
50
+
List all available modules
51
51
.TP
52
52
53
53
.B\-\-list\-presets
54
-
List available presets, they can be loaded with \fI\-\-config
54
+
List available presets that can be loaded with \fI\-\-config
55
55
.TP
56
56
57
57
.B\-\-list\-features
58
-
List the supported features fastfetch was compiled with
58
+
List the features that fastfetch was compiled with (mainly for development)
59
59
.TP
60
60
61
61
.B\-\-print\-logos
62
-
Print available logos
62
+
Display all available logos
63
63
.TP
64
64
65
65
.B\-\-print\-structure
66
-
Print the default structure
66
+
Display the default structure
67
67
.TP
68
68
69
69
.B\-\-format\fI<type>
70
-
Set the output format. Besides the
71
-
.Idefault
72
-
format, only
73
-
.Ijson
74
-
is supported currently.
70
+
Set the output format. Available options are:
71
+
.RS
72
+
.IP\(bu2
73
+
\fIdefault\fR: Default human-readable format
74
+
.IP\(bu2
75
+
\fIjson\fR: JSON format for machine processing
76
+
.RE
75
77
78
+
.SS "Config Options"
79
+
.TP
76
80
77
-
.SS "Display Options"
81
+
.B\-c,\-\-config\fI<config>
82
+
Use the specified config file or preset. Specify \fInone\fR to disable further config loading. See the CONFIGURATION section for details on config files.
83
+
.TP
84
+
85
+
.B\-\-gen\-config\fI[path]
86
+
Generate a config file with options specified on the command line. If \fIpath\fR is not specified, it defaults to \fB~/.config/fastfetch/config.jsonc\fR. If \fIpath\fR is "\-", the configuration will be written to stdout.
87
+
.TP
88
+
89
+
.B\-\-gen\-config\-force\fI[path]
90
+
Same as \fB\-\-gen\-config\fR, but overwrites any existing file at the destination path.
91
+
.TP
92
+
93
+
.SS "Logo Options"
78
94
.TP
79
95
80
96
.B\-l,\-\-logo\fI<logo>
81
-
Set the logo to display
97
+
Set the logo to display. Can be the name of a built-in logo or a path to an image file. Use \fInone\fR to disable the logo.
98
+
.TP
99
+
100
+
.B\-\-logo\-type\fI<type>
101
+
Set the type of the logo specified with \fI\-\-logo\fR. Available types include \fIauto\fR, \fIbuiltin\fR, \fIfile\fR, \fIsixel\fR, \fIkitty\fR, and others. See \fB\-\-helplogo\-type\fR for details.
102
+
.TP
103
+
104
+
.B\-\-logo\-width\fI<width>
105
+
Set the width of the logo in characters (for image logos)
106
+
.TP
107
+
108
+
.B\-\-logo\-height\fI<height>
109
+
Set the height of the logo in characters (for image logos)
110
+
.TP
111
+
112
+
.B\-\-logo\-color\-[1\-9]\fI<color>
113
+
Override specific colors in the logo
114
+
115
+
.SS "Display Options"
82
116
.TP
83
117
84
118
.B\-s,\-\-structure\fI<structure>
85
-
Set the structure of the fetch. For details about the structure,
86
-
see the CONFIGURATION section.
119
+
Set the structure of the fetch (a colon-separated list of module names)
120
+
.TP
87
121
122
+
.B\-\-color\fI<color>
123
+
Set the color of keys and title. See \fB\-\-helpcolor\fR for available colors.
124
+
.TP
88
125
89
-
.SS "Config Options"
126
+
.B\-\-color\-keys\fI<color>
127
+
Set the color of keys only
90
128
.TP
91
129
92
-
.B\-c,\-\-config\fI<config>
93
-
Use the specified config file or preset. If
94
-
.Inone
95
-
is specified, disable further config loading. For details about
96
-
config files, see the CONFIGURATION section
130
+
.B\-\-color\-title\fI<color>
131
+
Set the color of the title only
132
+
.TP
133
+
134
+
.B\-\-separator\fI<string>
135
+
Set the separator between key and value (default: ": ")
97
136
.TP
98
137
99
-
.B\-\-gen\-config\fI[file]
100
-
Generate a config file with options specified on the command line.
101
-
If \fIfile\fR is specified, the configuration will be written to the
102
-
file, otherwise it will be written to stdout.
138
+
.B\-\-key\-width\fI<num>
139
+
Align the width of keys to \fI<num>\fR characters
103
140
.TP
104
141
105
-
.B\-\-gen\-config\-force\fI[file]
106
-
Same as \fB\-\-gen\-config\fR, but overwrites existing config
142
+
.B\-\-show\-errors
143
+
Display errors when they occur (default: false)
107
144
.TP
108
145
146
+
.B\-\-pipe
147
+
Disable colors (automatically detected based on whether stdout is a terminal)
109
148
110
-
To list all options, use \fB\-\-help\fR. It will also print all available module options.
149
+
To list all available options including module-specific options, use \fB\-\-help\fR.
111
150
112
151
.SH CONFIGURATION
113
152
.SS "Fetch Structure"
114
-
The structure of a fetch describes the modules that should be included in
115
-
the output. It consists of a string of modules, separated by a colon (:).
153
+
The structure defines which modules to display and in what order. It consists of module names separated by colons (:).
154
+
For example: \fBtitle:separator:os:kernel:uptime\fR
155
+
116
156
To list all available modules, use \fB\-\-list\-modules\fR
117
157
118
158
.SS "Config Files"
119
159
120
-
Fastfetch uses JSONC based format for configuration. Fastfetch doesn't generate
121
-
config file automatically; it should be generated manually by \fB\-\-gen\-config\fR.
122
-
The config file will be saved in \fB~/.config/fastfetch/config.jsonc\fR by default.
160
+
Fastfetch uses JSONC for configuration files. JSONC is JSON with support for comments (// and /* */). Configuration files must have the .jsonc extension.
123
161
124
-
A JSONC config file is a JSON file that also supports comments with (// and /* */).
125
-
Those files must have the extension '.jsonc'.
162
+
You can generate a default config file using \fB\-\-gen\-config\fR. By default, the config file is saved at \fB~/.config/fastfetch/config.jsonc\fR.
126
163
127
-
The specified configuration/preset files are searched in the following order:
164
+
The configuration/preset files are searched in the following locations (in order):
128
165
129
-
1. relative to the current working directory
166
+
.RS
167
+
.IP1.4
168
+
Relative to the current working directory
169
+
.IP2.4
170
+
Relative to ~/.local/share/fastfetch/presets/
171
+
.IP3.4
172
+
Relative to /usr/share/fastfetch/presets/
173
+
.RE
130
174
131
-
2. relative to ~/.local/share/fastfetch/presets/
175
+
For detailed information on logo options, module configuration, and formatting, visit:
0 commit comments