Skip to content

Commit d74ddf8

Browse files
committed
Initialize gh-pages
0 parents  commit d74ddf8

1,522 files changed

Lines changed: 165172 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.clang-format

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# find . -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" -o -name "*.m" -o -name "*.mm" \) -print0 | xargs -0 clang-format -i
2+
3+
BasedOnStyle: LLVM
4+
5+
UseTab: Never
6+
IndentWidth: 4
7+
TabWidth: 4
8+
ContinuationIndentWidth: 4
9+
10+
ColumnLimit: 0
11+
ReflowComments: true
12+
13+
BreakBeforeBraces: Attach
14+
BreakBeforeCloseBracketBracedList: true
15+
BraceWrapping:
16+
AfterControlStatement: false
17+
AfterEnum: false
18+
AfterFunction: false
19+
AfterStruct: false
20+
AfterUnion: false
21+
AfterExternBlock: false
22+
BeforeElse: false
23+
BeforeCatch: false
24+
SplitEmptyFunction: false
25+
SplitEmptyRecord: false
26+
SplitEmptyNamespace: false
27+
IndentExternBlock: NoIndent
28+
29+
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
30+
AllowShortLoopsOnASingleLine: true
31+
AllowShortBlocksOnASingleLine: true
32+
AllowShortFunctionsOnASingleLine: Empty
33+
InsertBraces: true
34+
35+
PointerAlignment: Left
36+
DerivePointerAlignment: false
37+
SpaceBeforeParens: ControlStatements
38+
SpacesInParentheses: false
39+
SpaceAfterCStyleCast: true
40+
SpacesInLineCommentPrefix:
41+
Minimum: 1
42+
Maximum: 1
43+
SpacesInContainerLiterals: true
44+
45+
SortIncludes: Never
46+
IndentPPDirectives: BeforeHash
47+
PPIndentWidth: 4
48+
49+
IndentCaseLabels: true
50+
51+
AlignConsecutiveAssignments: false
52+
AlignConsecutiveDeclarations: false
53+
AlignOperands: DontAlign
54+
55+
BinPackParameters: false
56+
BinPackArguments: false
57+
AlignAfterOpenBracket: DontAlign
58+
BracedInitializerIndentWidth: 4
59+
Cpp11BracedListStyle: Block
60+
61+
ForEachMacros:
62+
- FF_LIST_FOR_EACH
63+
- yyjson_obj_foreach
64+
- yyjson_arr_foreach
65+
- yyjson_mut_obj_foreach
66+
- yyjson_mut_arr_foreach
67+
68+
AttributeMacros:
69+
- FF_A_FALLTHROUGH
70+
- FF_A_DEPRECATED
71+
- FF_A_CLEANUP
72+
- FF_A_NODISCARD
73+
- FF_A_PRINTF
74+
- FF_A_SCANF
75+
- FF_A_NONNULL
76+
- FF_A_RETURNS_NONNULL
77+
- FF_A_UNUSED
78+
- FF_A_PACKED
79+
- FF_A_WEAK_IMPORT
80+
81+
MaxEmptyLinesToKeep: 1
82+
KeepEmptyLinesAtTheStartOfBlocks: false
83+
84+
---
85+
Language: ObjC
86+
ObjCBlockIndentWidth: 4
87+
ObjCSpaceAfterProperty: true
88+
ObjCSpaceBeforeProtocolList: true
89+
ObjCBreakBeforeNestedBlockParam: true

.clang-format-ignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
src/3rdparty/**
2+
build/**
3+
src/logo/builtin.c

.codespellrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[codespell]
2+
check-filenames =
3+
builtin = clear,rare,usage,informal
4+
skip = */.git,*/cmake-build-*,*/.idea,*/completions,*/presets,*/screenshots,*/tests,*/3rdparty,*/logo/ascii,./src/detection/gpu/asahi_drm.h,./src/detection/cpu/cpu_x86.c,./src/detection/gpu/gpu_bsddrm.c,./src/detection/displayserver/linux/wayland/*-protocol.*,./build,./build-*,./build_*,./src/common/impl/genconfig.c
5+
ignore-words-list = iterm,compiletime,unknwn,pengwin,siduction,master,slave,sur,doas,conexant,ags,bu,renderD,SME,Carmel,kinda,symbole,connexion,comando,processus,lokale,adres,titel,som,environnement,Sistem,Lokal,Lokal,Sistem,Paket,Hava

.editorconfig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
indent_style = space
6+
tab_width = 4
7+
insert_final_newline = true
8+
trim_trailing_whitespace = true
9+
10+
[*.md]
11+
trim_trailing_whitespace = false
12+
13+
[*.txt]
14+
insert_final_newline = false
15+
16+
[*.yml]
17+
tab_width = 2

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.h linguist-language=c
2+
*.c linguist-language=c

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
github: LinusDierheimer
2+
ko_fi: carterli
3+
custom: https://paypal.me/zhangsongcui
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
name: Crash Bug Report
2+
description: If fastfetch crashes or freezes
3+
title: "[BUG] "
4+
labels: ["bug", "crash", "triage"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to fill out this bug report! We will try hard to solve the issue.
10+
However since platforms and hardwares vary greatly, it can be hard to find the root cause of an issue.
11+
Providing the following information may help us greatly. Thanks in advance!
12+
- type: checkboxes
13+
attributes:
14+
label: Read the FAQ first
15+
description: Please check if the issue is already covered in the FAQ.
16+
options:
17+
- label: I have checked the FAQ but the issue is not covered
18+
required: true
19+
- type: checkboxes
20+
attributes:
21+
label: Not a known issue
22+
description: Please check if the issue is already known and being worked on.
23+
options:
24+
- label: I have checked the existing issues but the issue is not covered
25+
required: true
26+
- label: My issue is not about crashing on Fedora and KDE 6.6
27+
required: true
28+
- type: markdown
29+
attributes:
30+
value: "### General description of the bug"
31+
- type: textarea
32+
attributes:
33+
label: Description
34+
description: A clear and concise description of what the bug is.
35+
placeholder: I was trying to [...] but [...]
36+
validations:
37+
required: true
38+
- type: input
39+
attributes:
40+
label: Version used
41+
description: Fastfetch version used. Please use the latest version (found in the [releases](https://github.com/fastfetch-cli/fastfetch/releases)) if possible.
42+
placeholder: Result of `fastfetch --version`
43+
validations:
44+
required: true
45+
- type: dropdown
46+
attributes:
47+
label: Bug prevalence
48+
description: How often does the bug occur?
49+
options:
50+
-
51+
- Always
52+
- Sometimes
53+
- Rarely
54+
- Once
55+
- Other
56+
validations:
57+
required: true
58+
- type: dropdown
59+
attributes:
60+
label: Regression
61+
description: Did it work in an older version?
62+
options:
63+
-
64+
- Not sure
65+
- 'Yes'
66+
- 'No'
67+
validations:
68+
required: true
69+
- type: dropdown
70+
attributes:
71+
label: Installation
72+
description: Where did you install fastfetch from?
73+
options:
74+
-
75+
- GitHub Releases
76+
- GitHub Actions (nightly)
77+
- Built from source
78+
- Package manager
79+
validations:
80+
required: true
81+
- type: input
82+
attributes:
83+
label: Package manager
84+
description: Which package manager did you use if applicable?
85+
placeholder: e.g. `apt`, `pacman`, `brew`, `scoop`
86+
- type: markdown
87+
attributes:
88+
value: '### Often helpful information'
89+
- type: textarea
90+
attributes:
91+
label: Screenshots
92+
description: If applicable, add screenshots to help explain your problem.
93+
- type: textarea
94+
attributes:
95+
label: Configuration
96+
description: If applicable, paste your configuration file here.
97+
placeholder: cat ~/.config/fastfetch/config.jsonc
98+
render: jsonc
99+
- type: markdown
100+
attributes:
101+
value: |
102+
Paste the stacktrace here. You may get it with:
103+
104+
```shell
105+
# You may need Ctrl+C to stop the process if it freezes
106+
gdb -q -ex 'set confirm off' -ex run -ex 'bt full' -ex quit --args /path/to/fastfetch
107+
```
108+
109+
If you are able to identify which module crashed, the strace can be helpful too
110+
111+
```shell
112+
strace /path/to/fastfetch --multithreading false -s {MODULE} --pipe
113+
```
114+
115+
If you cannot do the instructions above, please upload the core dump file if available.
116+
- type: textarea
117+
attributes:
118+
label: Stacktrace
119+
description: Paste the stacktrace or core dump file here.
120+
render: text
121+
validations:
122+
required: true
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
name: General Bug Report
2+
description: If something is not working as expected (wrong output, missing info, etc)
3+
title: "[BUG] "
4+
labels: ["bug", "triage"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to fill out this bug report! We will try hard to solve the issue.
10+
However since platforms and hardwares vary greatly, it can be hard to find the root cause of an issue.
11+
Providing the following information may help us greatly. Thanks in advance!
12+
- type: checkboxes
13+
attributes:
14+
label: Read the FAQ first
15+
description: Please check if the issue is already covered in the FAQ.
16+
options:
17+
- label: I have checked the FAQ but the issue is not covered
18+
required: true
19+
- type: markdown
20+
attributes:
21+
value: "### General description of the bug"
22+
- type: textarea
23+
attributes:
24+
label: Description
25+
description: A clear and concise description of what the bug is.
26+
placeholder: I was trying to [...] but [...]
27+
validations:
28+
required: true
29+
- type: input
30+
attributes:
31+
label: Version used
32+
description: Fastfetch version used. Please use the latest version (found in the [releases](https://github.com/fastfetch-cli/fastfetch/releases)) if possible.
33+
placeholder: Result of `fastfetch --version`
34+
validations:
35+
required: true
36+
- type: dropdown
37+
attributes:
38+
label: Bug prevalence
39+
description: How often does the bug occur?
40+
options:
41+
-
42+
- Always
43+
- Sometimes
44+
- Rarely
45+
- Once
46+
- Other
47+
validations:
48+
required: true
49+
- type: dropdown
50+
attributes:
51+
label: Regression
52+
description: Did it work in an older version?
53+
options:
54+
-
55+
- Not sure
56+
- 'Yes'
57+
- 'No'
58+
validations:
59+
required: true
60+
- type: dropdown
61+
attributes:
62+
label: Installation
63+
description: Where did you install fastfetch from?
64+
options:
65+
-
66+
- GitHub Releases
67+
- GitHub Actions (nightly)
68+
- Built from source
69+
- Package manager
70+
validations:
71+
required: true
72+
- type: input
73+
attributes:
74+
label: Package manager
75+
description: Which package manager did you use if applicable?
76+
placeholder: e.g. `apt`, `pacman`, `brew`, `scoop`
77+
- type: markdown
78+
attributes:
79+
value: '### Often helpful information'
80+
- type: textarea
81+
attributes:
82+
label: Screenshots
83+
description: If applicable, add screenshots to help explain your problem.
84+
- type: textarea
85+
attributes:
86+
label: Configuration
87+
description: If applicable, paste your configuration file here.
88+
placeholder: cat ~/.config/fastfetch/config.jsonc
89+
render: jsonc
90+
- type: textarea
91+
attributes:
92+
label: System information
93+
description: Output of `fastfetch -c all.jsonc --stat --format json`
94+
placeholder: |
95+
Note that this output will contain you public IP.
96+
If it is not relevant for the issue, feel free to remove it before uploading.
97+
render: jsonc
98+
validations:
99+
required: true
100+
- type: textarea
101+
attributes:
102+
label: Features built-in
103+
description: Output of `fastfetch --list-features`
104+
render: text
105+
validations:
106+
required: true

0 commit comments

Comments
 (0)