Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
498 commits
Select commit Hold shift + click to select a range
13f58f5
FFPlatform: only add a path to data dirs if the path exits
CarterLi Jun 29, 2023
0f8ebd2
Bios: rename biosRelease to release
CarterLi Jun 29, 2023
651b330
Bios (macOS): fix bios version detection
CarterLi Jun 29, 2023
6528f07
Bios (macOS): support bios date detection
CarterLi Jun 29, 2023
b4049c1
fix(DE): fix KDE detection (#481)
CarterLi Jun 30, 2023
cf62e61
CMake (Windows): remove an unused dependency
CarterLi Jun 30, 2023
ac07ae7
LM (Linux): support version detection
CarterLi Jul 1, 2023
1c62a07
GPU (Windows): more strict check
CarterLi Jul 1, 2023
1f799d1
GPU (Windows): add debug logs for #484
CarterLi Jul 1, 2023
e2cef23
Revert "GPU (Windows): add debug logs for #484"
CarterLi Jul 1, 2023
b8a9b74
GPU: fix #484
CarterLi Jul 1, 2023
c3f39b0
Merge remote-tracking branch 'origin/master' into dev
CarterLi Jul 3, 2023
2491956
Merge branch 'master' into dev
CarterLi Jul 3, 2023
b294f45
Doc: add CI badge
CarterLi Jul 3, 2023
be5a782
Terminal (Linux): support terminator version detection
CarterLi Jul 3, 2023
cf91981
Packages (Linux): try detecting pkgtool
CarterLi Jul 3, 2023
bd3bf9b
Fastfetch: add `--set` and `--set-keyless` back, but instead deprecat…
CarterLi Jul 3, 2023
107b3dc
Pckages (Linux): fix pkgtool detection
CarterLi Jul 3, 2023
c6416b5
Host (Windows): cleanup useless smbios values
CarterLi Jul 4, 2023
41cef62
Shell (Windows): fallback shell version detection to file version
CarterLi Jul 4, 2023
65dabd3
TerminalShell (Windows): fix #488
CarterLi Jul 4, 2023
2a20338
Host (macOS): fix incorrect Host on M2 Mac Studio with M2 Max CPU (#490)
CarterLi Jul 5, 2023
3b79975
DE (Linux): fix #489
CarterLi Jul 5, 2023
3245b8a
Merge branch 'master' into dev
CarterLi Jul 5, 2023
d9f5c4d
Merge branch 'master' into dev
CarterLi Jul 5, 2023
7638900
JsonConfig: implement `--load-config` for JSON config file
CarterLi Jul 5, 2023
0344202
Disk: fix `--disk-folders` printing duplicated paths
CarterLi Jul 5, 2023
7bd9e1e
LocalIP: fix `--compact`
CarterLi Jul 5, 2023
5e9f850
Title: fix typo `fdqn` -> `fqdn`; support standard module args
CarterLi Jul 5, 2023
341b2ef
Presets: don't use module `Date` and `Time`
CarterLi Jul 5, 2023
0e5932f
Presets: print more information
CarterLi Jul 5, 2023
dad5457
Presets: more examples
CarterLi Jul 6, 2023
36950a9
Presets: update examples
CarterLi Jul 6, 2023
71ed353
Logo (Builtin): make Windows 11 small colorable
CarterLi Jul 6, 2023
e7db3cd
Logo: support builtin small logo
CarterLi Jul 6, 2023
b9f1926
Doc: update changelog
CarterLi Jul 6, 2023
53569d5
Terminal: support Cockpit version detection
CarterLi Jul 7, 2023
713a62b
Logo: fix segfault with `fastfetch -l`
CarterLi Jul 8, 2023
09d843d
CMake: don't install global config file
CarterLi Jul 8, 2023
11cd795
LM (Linux): detection LightDM version
CarterLi Jul 8, 2023
55c516a
DisplayServer: prepare for DDC/CI
CarterLi Jul 8, 2023
faf6d13
Brightness (Windows): detect brightness of external monitors with DDC/CI
CarterLi Jul 8, 2023
30afe7e
Brightness (macOS): detect brightness of external monitors with DDC/CI
CarterLi Jul 8, 2023
f166735
LM (Linux): fix compiling
CarterLi Jul 8, 2023
300d06f
Fastfetch: don't hide cursor in DEBUG mode
CarterLi Jul 9, 2023
d0ce6aa
Brightness (Linux): detect brightness of external monitors with DDC/CI
CarterLi Jul 9, 2023
da6dafe
CI (Linux): ddcutil is not available on Ubuntu 20.04; disable it
CarterLi Jul 9, 2023
98079f5
Brightness (macOS): fix crashing when no external display connected
CarterLi Jul 9, 2023
cad89fc
Terminal: detect xterm terminal version
CarterLi Jul 9, 2023
e99b45a
TerminalFont (Linux): support xterm
CarterLi Jul 9, 2023
d5f0cca
LM (Linux): try fixing LightDM version detection
CarterLi Jul 10, 2023
856d732
Global: add option `--size-ndigits` and `--size-max-prefix`
CarterLi Jul 10, 2023
e611ce5
Processing (Linux): don't hang on `waitpid(2)`
CarterLi Jul 10, 2023
9719c17
LM (Linux): detect sshd version
CarterLi Jul 10, 2023
ad9103c
Processing (Linux): support timeout
CarterLi Jul 10, 2023
7bd0780
Fastfetch: make `--size-max-prefix` accept enum values.
CarterLi Jul 10, 2023
301e615
WM/DE (Linux): revert 2486e68fe32a932f2ff83653ff292759733e9f0a becaus…
CarterLi Jul 10, 2023
c1b2ebc
CI: fix compiling errors
CarterLi Jul 10, 2023
9c9ba2f
CI (Linux): fix build on musl
CarterLi Jul 10, 2023
d53b584
Processing (Windows): support timeout
CarterLi Jul 10, 2023
7dae59e
Processing: add `--processing-timeout`
CarterLi Jul 10, 2023
ced2347
Processing (Linux): fix potential hang when reading large buffer
CarterLi Jul 11, 2023
992fd6e
Processing (Windows): properly implement timed reading
CarterLi Jul 11, 2023
11adefd
Processing (Windows): fix hanging when executing cygwin processes
CarterLi Jul 11, 2023
dfefb80
Processing (Linux): always poll before read
CarterLi Jul 11, 2023
63fbaa1
CPU: properly detect CPU on POWER
pkubaj Jul 12, 2023
ad627e0
GPU (Linux): disable GPU memory size detection with libpci by default
CarterLi Jul 13, 2023
67d3910
LM (Linux): fix LightDM version detection
CarterLi Jul 13, 2023
c973598
DE (Linux): revert bc7d84fea2053883f734c5cc40a50b176cd67fa1
CarterLi Jul 13, 2023
da4ec98
Wifi (Linux): fix false errors when built without libnm support
CarterLi Jul 13, 2023
d3d121a
Brightness (Linux): use display model name as a fallback if we fail t…
CarterLi Jul 14, 2023
872b108
DisplayServer (Linux): fix heap-buffer-overflow reading
CarterLi Jul 14, 2023
87ebdef
Processing (Linux): don't leave zombie processes
CarterLi Jul 14, 2023
55e0f8e
Linux (Bluetooth): silence warnings
CarterLi Jul 15, 2023
a946665
Processing (macOS): fix compiling
CarterLi Jul 15, 2023
426aae1
PublicIP: print location
CarterLi Jul 15, 2023
f6101a6
Doc: update changelog
CarterLi Jul 15, 2023
1ddecf4
Brightness (Linux): work around #499
CarterLi Jul 15, 2023
64ea1af
Processing: always trim trailing new lines
CarterLi Jul 15, 2023
ddc55d7
Terminal (Linux): don't assume conhost in WSL
CarterLi Jul 16, 2023
e4b3d7e
Terminal (Windows): don't detect Windows Terminal as conhost
CarterLi Jul 16, 2023
7705237
Terminal (Windows): better terminal detection when running shell dire…
CarterLi Jul 16, 2023
a775534
Processing (Windows): try fixing Win7 compatiblity
CarterLi Jul 16, 2023
6f0b4c0
Cursor (Windows): fix Win7 compatibility
CarterLi Jul 16, 2023
c1d5a3e
Terminal (Windows): unified handling of ConEmu
CarterLi Jul 16, 2023
eea7002
Terminal (macOS): fix compatibility with Fig
CarterLi Jul 16, 2023
c79120b
TerminalFont (macOS): detect non-ascii font of iTerm
CarterLi Jul 16, 2023
8000723
Disk (Linux): fix #479
CarterLi Jul 16, 2023
a5c838e
Disk: print mount points as links
CarterLi Jul 16, 2023
44faa3a
LocalIP (Linux): test default route
CarterLi Jul 17, 2023
68f71c5
LocalIP (macOS): detect default route
CarterLi Jul 17, 2023
1e57c4c
LocalIP (Windows): detect default route
CarterLi Jul 17, 2023
f34d51b
LocalIP: add option `--localip-default-route-only`
CarterLi Jul 17, 2023
59dc2f8
LocalIP (Linux): fix build on Android
CarterLi Jul 17, 2023
1dc0ee1
LocalIP (Android): fix crashing
CarterLi Jul 17, 2023
f1ebcd7
Logo: add `kitty-direct` protocol
CarterLi Jul 18, 2023
e48a7aa
LocalIP (Android): tidy
CarterLi Jul 19, 2023
7d91e7b
Display (Android): support detection in adb
CarterLi Jul 19, 2023
8ef2bb7
Battery (Android): use yyjson to parse JSON string
CarterLi Jul 19, 2023
396cec8
Wifi (Android): use yyjson to parse JSON string
CarterLi Jul 19, 2023
3c5c2d2
Battery (Android): support detection with `dumpsys`
CarterLi Jul 19, 2023
e25eed5
Weather: add option `--weather-location`
CarterLi Jul 19, 2023
e55da74
Doc: update changelog
CarterLi Jul 19, 2023
9de7a78
JsonConfig: don't disable `--show-errors` when setting `--stat false`
CarterLi Jul 19, 2023
a0cfbe7
CMake: print message before fetching yyjson
CarterLi Jul 20, 2023
d3ff245
Logo (Builtin): add linux_small
CarterLi Jul 20, 2023
00a5f1b
Title: fix option `--title-fqdn` doesn't work
CarterLi Jul 20, 2023
e9ec7d3
Title: add option `--title-color-user`, `--title-color-at` and `--tit…
CarterLi Jul 20, 2023
d13e72b
Processing: always trim white spaces
CarterLi Jul 20, 2023
4938241
Shell: support ksh version detection
CarterLi Jul 20, 2023
d33ef31
Add Exherbo logo
tombriden Jul 20, 2023
250d3c3
Add paludis (exherbo) package count
tombriden Jul 20, 2023
76f3090
Doc: update JSON schema
CarterLi Jul 21, 2023
48a22db
Doc: update changelog
CarterLi Jul 21, 2023
1feb391
Brightness (macOS): fix detecting with ddc/ci
CarterLi Jul 21, 2023
9af5c36
Doc: update JSON schema
CarterLi Jul 21, 2023
30791e1
Presets: add a new example
CarterLi Jul 21, 2023
4202e61
Brightness: improve performance
CarterLi Jul 23, 2023
5220144
DE: fix detection for ghostbsd
CarterLi Jul 23, 2023
e8d0759
CMake: show progress when fetching deps
CarterLi Jul 23, 2023
2aa637e
Processing (Linux): don't return on POLLHUP
CarterLi Jul 24, 2023
fc6acd1
Logo: fix `--logo-padding-top` for `kitty-direct`
CarterLi Jul 24, 2023
62cfd27
Logo: fix WezTerm compatibility with `kitty-direct`
CarterLi Jul 24, 2023
e685a00
FFstrbuf: remove ffStrbufRemoveStringsV; rename ffStrbufRemoveStrings…
CarterLi Jul 25, 2023
309d1d2
FFstrbuf: add ffStrbufCreateStatic
CarterLi Jul 25, 2023
841be61
Global: use ffStrbufInitStatic
CarterLi Jul 25, 2023
2f0d0a5
CMake: build universal binaries for macOS
CarterLi Jul 26, 2023
8cbeb70
TerminalSize: add new module
CarterLi Jul 26, 2023
de3cb1f
Logo: fix `kitty-direct`
CarterLi Jul 26, 2023
c9741d1
Parsing: simplify code
CarterLi Jul 27, 2023
af2c6a8
Fastfetch: add new option `--temperature-unit`
CarterLi Jul 27, 2023
5fcf5b7
CPU (Linux): tidy
CarterLi Jul 27, 2023
92b1d74
CPU (Android): better CPU name detection
CarterLi Jul 27, 2023
7147029
Board (Android): add support
CarterLi Jul 27, 2023
be93714
Display (Android): add support for Xiaomi devices
CarterLi Jul 27, 2023
7abf91a
Host (Android): better host detection
CarterLi Jul 27, 2023
a2b00cb
Bios (Android): add support
CarterLi Jul 27, 2023
340f2b2
Doc: update changelog
CarterLi Jul 27, 2023
124a490
Logo: add Windows 95; refactor code
CarterLi Jul 28, 2023
5291d1a
Logo: add more ASCII logos
CarterLi Jul 28, 2023
c78c18d
Logo: generate `logo_builtin.h` with CMake
CarterLi Jul 29, 2023
09f7323
FFstrbuf: add `ffStrbufUpperCase` and `ffStrbufLowerCase`
CarterLi Jul 29, 2023
90bf6cb
Logo: remove old `.txt`
CarterLi Jul 29, 2023
2fa7f11
Logos: move logo lines to seperated plain text files
CarterLi Jul 29, 2023
0bc8ccd
Doc: update changelog for newly added logos
CarterLi Jul 29, 2023
2a39fd3
Logo: add Garuda Dragon
CarterLi Jul 29, 2023
893f45e
Logo: add Orchid
CarterLi Jul 29, 2023
b3f8798
Logo: add Ubuntu Budgie and Ubuntu Gnome
CarterLi Jul 29, 2023
4f54eab
LM (Linux): fix gdm version detection on Ubuntu
CarterLi Jul 29, 2023
6e7652e
Terminal: support yakuake
CarterLi Jul 30, 2023
f906d02
Title (Windows): remove the trailing white space of user name on WInd…
CarterLi Jul 30, 2023
b4d1c97
Separator: support Unicode / double width separator string
CarterLi Jul 31, 2023
fd8794e
Disk (Linux): support hyperlink in WSL
CarterLi Jul 31, 2023
ca31f67
Host (Linux): display WSL distro name
CarterLi Jul 31, 2023
9e64e66
TerminalShell: don't detect *.sh as shell or terminal
CarterLi Jul 31, 2023
6746189
DisplayServer: add option `--ds-force-drm`
CarterLi Jul 31, 2023
a986edb
Logo: add Proxmox
CarterLi Aug 1, 2023
5562bc6
Command (Linux): use `/bin/sh` as the default shell
CarterLi Aug 1, 2023
aa49877
DisplayServer (Linux): try fixing #505
CarterLi Aug 1, 2023
f1ec86a
IO: only suppress IO in release mode
CarterLi Aug 1, 2023
81f7861
Disk(Linux): fix byteUsed not correctly in ext4
xzl01 Aug 1, 2023
172b3b2
Disk (BSD): fix bytesUsed calculation
CarterLi Aug 1, 2023
df374f8
Revert "DisplayServer (Linux): try fixing #505"
CarterLi Aug 1, 2023
5137b7d
Revert "IO: only suppress IO in release mode"
CarterLi Aug 1, 2023
0c86e45
Wifi (Linux): don't make `iw` a slow operation
CarterLi Aug 1, 2023
9686467
Logo: add elementary and mx
CarterLi Aug 1, 2023
04ede28
Logo: add more logos
CarterLi Aug 2, 2023
c0317e2
Logo: more
CarterLi Aug 2, 2023
e4a99b2
Logo: more
CarterLi Aug 2, 2023
897d1e7
Windows (Terminal): don't detect wsl as terminal
CarterLi Aug 2, 2023
34e2af4
Logo: refactor logo initial code
CarterLi Aug 3, 2023
7d347a9
Logo (Builtin): use meaningful macros
CarterLi Aug 3, 2023
f659595
Logo (Builtin): more
CarterLi Aug 3, 2023
26bb2dc
Logo: more
CarterLi Aug 3, 2023
fa13906
Fix typo in config_user.txt
Aug 3, 2023
1d1dc56
Logo (Builtin): more
CarterLi Aug 4, 2023
f42fb53
Logo (Builtin): more
CarterLi Aug 4, 2023
c1b75c0
Doc: update changelog
CarterLi Aug 4, 2023
f2b3418
Logo (Builtin): fix `Tails` and `TeArch`
CarterLi Aug 4, 2023
819c78e
Fastfetch: add option `--bright-color`
CarterLi Aug 4, 2023
0c2edd4
Memory / Swap (Windows): simplify implementation
CarterLi Aug 4, 2023
a971f6d
Revert "Memory / Swap (Windows): simplify implementation"
CarterLi Aug 5, 2023
16aedae
TerminalFont: detect `.kitty-wrapped` as `kitty`
CarterLi Aug 5, 2023
97f3860
TerminalFont: Fix #510
CarterLi Aug 5, 2023
eef8040
TerminalFont: Fix #510
CarterLi Aug 6, 2023
f1d4611
Temps (macOS): adjust CPU and GPU sensors for m2 apple silicon
CarterLi Aug 7, 2023
74233ac
Temps (macOS): code refactors
CarterLi Aug 7, 2023
2c71568
Weather: document `--weather-location`
CarterLi Aug 7, 2023
cc1a35e
Logo: more
CarterLi Aug 7, 2023
6071c1b
JsonConfig: support generate default config file with `--gen-config`
CarterLi Aug 7, 2023
cebc5cd
Wifi (Linux): support signal quality detection with ioctl
CarterLi Aug 7, 2023
e7f0525
Logo: add Ubuntu Unity
CarterLi Aug 8, 2023
4bef127
Logo: add Panwah
CarterLi Aug 8, 2023
38044ac
Logo(Builtin): Fix `RebornOS`
Aug 8, 2023
a58db92
NativeResolution: init code
CarterLi Aug 8, 2023
c28ced9
NativeResolution (Linux): add support
CarterLi Aug 8, 2023
5c60314
Battery (Windows): tidy
CarterLi Aug 8, 2023
7598e57
NativeResolution (Windows): add support
CarterLi Aug 8, 2023
3acbe84
Brightness (macOS): code refactor
CarterLi Aug 9, 2023
bb0279b
NativeResolution: rename module to PhycialDisplay
CarterLi Aug 9, 2023
1d1ce83
PhycialDisplay (macOS): add support
CarterLi Aug 9, 2023
abae204
PhycialDisplay: tidy
CarterLi Aug 9, 2023
008c9a5
PhycialDisplay: detect phycial size
CarterLi Aug 9, 2023
44d02b3
PhycialDisplay: only print physical sizes if detected successfully
CarterLi Aug 9, 2023
921f3e3
PhysicalDisplay: fix typo
CarterLi Aug 9, 2023
6c156eb
PhysicalDisplay (Linux): using sqrt requires linking with libm
CarterLi Aug 9, 2023
4b57e42
PhysicalDisplay: calculate ppi
CarterLi Aug 9, 2023
d8e2215
Brightness: fix `--brightness-format`
CarterLi Aug 9, 2023
7965107
PhysicalDisplay: rename module to Monitor
CarterLi Aug 9, 2023
e7487e2
DisplayServer (Linux): better rotation detection for X11
CarterLi Aug 9, 2023
fada811
DisplayServer (Linux): get EDID (WIP)
CarterLi Aug 9, 2023
3bab3ed
EdidHelper: use vendor / model id if model name is not set in EDID
CarterLi Aug 9, 2023
33dc097
DisplayServer (Linux): get EDID
CarterLi Aug 10, 2023
2f2856e
Display (Linux): detect monitor name for wayland
CarterLi Aug 10, 2023
3bd4694
Display (Linux): detect monitor name when using DRM
CarterLi Aug 10, 2023
b4ad245
Monitor (Linux): detect monitor name
CarterLi Aug 10, 2023
e0c59b9
Brightness (Linux): try detect monitor name
CarterLi Aug 10, 2023
77f79dc
Doc: update changelog, metion `libm` usage
CarterLi Aug 10, 2023
f478b5b
Monitor: add to `presets/all`
CarterLi Aug 10, 2023
8151848
Logo (Builtin): more
CarterLi Aug 10, 2023
0f8d757
Logo (Builtin): improve searching performance
CarterLi Aug 10, 2023
75ba116
Logo (Builtin): don't match alternate logos
CarterLi Aug 10, 2023
add3318
Fastfetch: improve performance of `--structure` parsing
CarterLi Aug 10, 2023
3c817ec
Fastfetch: silence compiler warnings
CarterLi Aug 10, 2023
978e578
Display (Linux): fix memleaks
CarterLi Aug 10, 2023
8d7318c
Display (Linux): don't assume `DP-*` are external monitors
CarterLi Aug 10, 2023
d1a92f8
Display (Linux): retreive EDID monitor name
CarterLi Aug 10, 2023
d84bf00
Logo (Builtin) remove OpenSuseTumbleweed2
CarterLi Aug 11, 2023
9177bc2
Display (Linux): don't use `unknown` as the display name
CarterLi Aug 11, 2023
8493c99
README: update builtin logo list
CarterLi Aug 11, 2023
ff685a5
Monitor (macOS): tidy
CarterLi Aug 11, 2023
126034f
WM (macOS): detect if WindowServer is running
CarterLi Aug 11, 2023
b847fca
Doc: document the incompatibility between `fastfetch` and `p10k-inst…
CarterLi Aug 11, 2023
5a4de8b
Doc: fix typo
CarterLi Aug 11, 2023
28d95c9
WM (macOS): don't print `Core Graphics`
CarterLi Aug 11, 2023
d05cbc0
Monitor (macOS): detect HDR support
CarterLi Aug 11, 2023
045d705
Monitor (macOS): fix building
CarterLi Aug 11, 2023
519f3bf
Monitor (macOS): test HDR support for external monitors
CarterLi Aug 11, 2023
46b0c6e
Monitor (Windows): code refactor
CarterLi Aug 11, 2023
97b779a
Monitor (Linux): try detecting HDR support
CarterLi Aug 11, 2023
a87a047
Fastfetch: fix #517
CarterLi Aug 12, 2023
1f265c5
Doc: update changelog
CarterLi Aug 12, 2023
082038f
Windows: silence compiler warnings
CarterLi Aug 13, 2023
0b56314
Logo: don't segfault if `--logo-source` starts with non-alpha charactors
CarterLi Aug 13, 2023
a34980e
util/mallocHelper: add missing #include guards
CarterLi Aug 13, 2023
290e721
`--logo-source` / `--load-config`: support path with env variables (W…
CarterLi Aug 13, 2023
658598f
`--logo-source` / `--load-config`: support path with env variables (*…
CarterLi Aug 13, 2023
9bc1ec9
Add Slackel logo
gapan Aug 13, 2023
1adbe9e
Doc: update builtin logo list
CarterLi Aug 14, 2023
550011c
Release: v2.0.0
CarterLi Aug 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
59 changes: 50 additions & 9 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,36 @@ assignees: ''

---

<!-- We will try hard to solve the issue. However since platforms and hardwares vary greatly, it can be hard to find the root cause is. Providing following information may help us greatly. Thanks in advance -->

# General description of bug:

* What happened:
* What should happen:
* Did it work in an older version: <!-- if yes, which version -->
* Where did you get the binary: <!-- Github Release / Github Actions / Installed with a package manager (What package manager) / Built from source yourself -->
* Does this issue still occurs in [the latest dev build](https://github.com/fastfetch-cli/fastfetch/actions/)?

# Often helpful questions:
* Does the issue occur across multiple terminal emulators? [Y/N]
* Does the issue occur across multiple shells? (bash, zsh, fish, etc) [Y/N]
# Often helpful information:

Output of `fastfetch --version`:
```
//paste here
```

Output of `fastfetch --load-config devinfo`:
The content of the configuration file you use (if any)
```
//paste here
```

Output of `fastfetch --load-config devinfo-verbose`:
Output of `env NO_CONFIG=1 fastfetch --load-config all --show-errors --stat --multithreading false --disable-linewrap false --hide-cursor false`:
<!--
Note that this output will contain you public IP. If it is not relevant for the issue, feel free to remove it before uploading.

If you get the following error: `Error: couldn't find config: [...]`, copy the files in [presets](../../presets/) to `/usr/share/fastfetch/presets/` or `~/.local/share/fastfetch/presets/`.
If this isn't possible (or too much work) for you, post the output of `env NO_CONFIG=1 fastfetch --show-errors --stat --multithreading false --disable-linewrap false --hide-cursor false`.
-->

```
//paste here
```
Expand All @@ -37,7 +46,39 @@ Output of `fastfetch --list-features`:
//paste here
```

<!--
If you get the following error: `Error: couldn't find config: [...]`, copy the files in [presets](../../presets/) to `/usr/share/fastfetch/presets/` or `~/.local/share/fastfetch/presets/`.
If this isn't possible (or too much work) for you, post the output of `fastfetch --show-errors --multithreading false --disable-linewrap false`.
-->
## If fastfatch crashed

Paste the stacktrace here. You may get it with:

```
$ gdb /path/to/fastfetch
$ run
$ bt
```

If you are able to identify which module crashed, the strace can be helpful too

```
$ strace /path/to/fastfetch --multithreading false --structure {MODULE} --pipe
```

If you cannot do the instructions above, please upload the core dump file:

## If my image logo didn't show / work

<!-- Please make sure the terminal does support the image protocol you used. Note Gnome terminal doesn't support any image protocols -->

* The image protocol you used:
* The terminal you used:
* Upload the image file here, or paste the image URL:
* Does it work with `--logo-width {WIDTH} --logo-height {HEIGHT}`?

## If fastfetch behaves incorrectly on shell starting

<!-- NOTE for zsh / p10k users:
There are known incompatibility between fastfetch and p10k instant prompt.
The p10k doc clearly states that you should NOT print anything to stdout after p10k-instant-prompt is initialized.
You should either put `fastfetch` before initialization of p10k-instant-prompt (recommended), remove it or use `fastfetch --pipe false` -->

* The bug is reproduceable with fresh / clean shell configuration (i.e. `fastfetch` is the single line of `.zshrc` or `~/.config/fish/config.fish`):
* Does `sleep 1` before running `fastfetch` work?
32 changes: 18 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,19 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-22.04, ubuntu-20.04]
compiler: [gcc, clang]
compiler: [gcc, clang, "musl-gcc"]
enableFeatures: [ON, OFF]
exclude:
# The feature libraries are all build against glibc, so they can't be used with musl
- compiler: "musl-gcc"
enableFeatures: ON
runs-on: ${{ matrix.os }}
steps:
- name: checkout repository
uses: actions/checkout@v3

- name: install required packages
run: sudo apt-get update && sudo apt-get install -y libpci-dev libvulkan-dev libwayland-dev libxrandr-dev libxcb-randr0-dev libdconf-dev libdbus-1-dev libmagickcore-dev libxfconf-0-dev libsqlite3-dev rpm librpm-dev libzstd-dev libegl-dev libglx-dev libosmesa6-dev ocl-icd-opencl-dev libnm-dev libpulse-dev libcjson-dev
run: sudo apt-get update && sudo apt-get install -y musl-dev musl-tools linux-headers-generic libpci-dev libvulkan-dev libwayland-dev libxrandr-dev libxcb-randr0-dev libdconf-dev libdbus-1-dev libmagickcore-dev libxfconf-0-dev libsqlite3-dev rpm librpm-dev libzstd-dev libegl-dev libglx-dev libosmesa6-dev ocl-icd-opencl-dev libnm-dev libpulse-dev

- name: configure project
env:
Expand All @@ -35,7 +39,7 @@ jobs:
run: ctest

- name: run fastfetch
run: ./fastfetch --disable-linewrap false --hide-cursor false --show-errors true --load-config presets/all
run: ./fastfetch --disable-linewrap false --hide-cursor false --show-errors --no-buffer --load-config presets/all

- name: run flashfetch
run: ./flashfetch
Expand All @@ -53,7 +57,7 @@ jobs:
uses: actions/checkout@v3

- name: install required packages
run: sudo apt-get update && sudo apt-get install -y libpci-dev libvulkan-dev libwayland-dev libxrandr-dev libxcb-randr0-dev libdconf-dev libdbus-1-dev libmagickcore-dev libxfconf-0-dev libsqlite3-dev rpm librpm-dev libzstd-dev libegl-dev libglx-dev libosmesa6-dev ocl-icd-opencl-dev libnm-dev libpulse-dev libcjson-dev
run: sudo apt-get update && sudo apt-get install -y libpci-dev libvulkan-dev libwayland-dev libxrandr-dev libxcb-randr0-dev libdconf-dev libdbus-1-dev libmagickcore-dev libxfconf-0-dev libsqlite3-dev rpm librpm-dev libzstd-dev libegl-dev libglx-dev libosmesa6-dev ocl-icd-opencl-dev libnm-dev libpulse-dev

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand All @@ -73,7 +77,7 @@ jobs:
run: ./fastfetch --list-features

- name: run fastfetch
run: time ./fastfetch --disable-linewrap false --hide-cursor false --show-errors true --load-config presets/all
run: time ./fastfetch --disable-linewrap false --hide-cursor false --show-errors --no-buffer --load-config presets/all

- name: run flashfetch
run: time ./flashfetch
Expand Down Expand Up @@ -110,7 +114,7 @@ jobs:
languages: c

- name: configure project
run: cmake -DSET_TWEAK=Off -DBUILD_TESTS=On .
run: cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DCMAKE_OSX_ARCHITECTURES='arm64;x86_64' .

- name: build project
run: cmake --build . --target package
Expand All @@ -122,7 +126,7 @@ jobs:
run: ./fastfetch --list-features

- name: run fastfetch
run: time ./fastfetch --disable-linewrap false --hide-cursor false --show-errors true --load-config presets/all
run: time ./fastfetch --disable-linewrap false --hide-cursor false --show-errors --no-buffer --load-config presets/all

- name: run flashfetch
run: time ./flashfetch
Expand Down Expand Up @@ -155,7 +159,7 @@ jobs:
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On .
cmake --build . --target package
./fastfetch --list-features
time ./fastfetch --disable-linewrap false --hide-cursor false --show-errors true --load-config presets/all
time ./fastfetch --disable-linewrap false --hide-cursor false --show-errors --no-buffer --load-config presets/all
time ./flashfetch
ctest

Expand Down Expand Up @@ -183,7 +187,7 @@ jobs:
with:
msystem: CLANG64
update: true
install: git zip mingw-w64-clang-x86_64-cmake mingw-w64-clang-x86_64-clang mingw-w64-clang-x86_64-vulkan-loader mingw-w64-clang-x86_64-opencl-icd mingw-w64-clang-x86_64-cjson
install: git zip mingw-w64-clang-x86_64-cmake mingw-w64-clang-x86_64-clang mingw-w64-clang-x86_64-vulkan-loader mingw-w64-clang-x86_64-opencl-icd

- name: print msys version
run: uname -a
Expand All @@ -203,13 +207,13 @@ jobs:
uses: github/codeql-action/analyze@v2

- name: copy necessary dlls
run: cp /clang64/bin/{libcjson,OpenCL,vulkan-1}.dll .
run: cp /clang64/bin/{OpenCL,vulkan-1}.dll .

- name: list features
run: ./fastfetch --list-features

- name: run fastfetch
run: time ./fastfetch --disable-linewrap false --hide-cursor false --show-errors true --load-config presets/all
run: time ./fastfetch --disable-linewrap false --hide-cursor false --show-errors --no-buffer --load-config presets/all

- name: run flashfetch
run: time ./flashfetch
Expand Down Expand Up @@ -244,7 +248,7 @@ jobs:
with:
msystem: CLANG32
update: true
install: git zip mingw-w64-clang-i686-cmake mingw-w64-clang-i686-clang mingw-w64-clang-i686-vulkan-loader mingw-w64-clang-i686-opencl-icd mingw-w64-clang-i686-cjson
install: git zip mingw-w64-clang-i686-cmake mingw-w64-clang-i686-clang mingw-w64-clang-i686-vulkan-loader mingw-w64-clang-i686-opencl-icd

- name: print msys version
run: uname -a
Expand All @@ -264,10 +268,10 @@ jobs:
uses: github/codeql-action/analyze@v2

- name: copy necessary dlls
run: cp /clang32/bin/{libcjson,OpenCL,vulkan-1}.dll .
run: cp /clang32/bin/{OpenCL,vulkan-1}.dll .

- name: run fastfetch
run: time ./fastfetch --disable-linewrap false --hide-cursor false --show-errors true --load-config presets/all
run: time ./fastfetch --disable-linewrap false --hide-cursor false --show-errors --no-buffer --load-config presets/all

- name: run flashfetch
run: time ./flashfetch
Expand Down
60 changes: 60 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,63 @@
# 2.0.0 (beta)

Fastfetch v2 introduces a new configuration file format: JSON config. Please refer to <https://github.com/fastfetch-cli/fastfetch/wiki/Configuration> for details.

Changes:
* Drop the dependency of cJSON. We now use [yyjson](https://ibireme.github.io/yyjson/doc/doxygen/html/index.html) to parse JSON documents.
* Remove `--shell-version` and `--terminal-version`. They are always enabled (Terminal / Shell)
* Remove `--*-error-format`, which seems to be useless
* Remove `--display-detect-name`. Display name is always detected, and will be printed if multiple displays are detected
* Deprecate `--set` and `--set-keyless`; they may be removed in future releases. Use JSON config with Custom module instead
* Remove the special handling of Command module (it can be set once in the triditional `config.conf`). Use JSON config with Command module instead
* Change `--wm-theme-*` to `--wmtheme-*`. Affect `key` and `format` (WMTheme)
* Change `--terminal-font-*` to `--terminalfont-*`. Affect `key` and `format` (TerminalFont)
* Module `Command` uses `/bin/sh` as the default shell on systems other than Windows (Command)
* Fix M2 CPU temperature detection (CPU, macOS)
* Detect monitor name when available, instead of using DRM connector name (Display / Brightness, Linux)

Features:
* FreeBSD support is improved greatly, and actually tested in a physical machine
* Add `--no-buffer` option for easier debugging. CMake option `ENABLE_BUFFER` is removed and always enabled.
* Support `--*-key-color` option to change the key color of specified module
* Support `--colors-symbol` and `--colors-padding-left` (Colors)
* Add LM (Login Manager) module. Currently requires systemd installed (thus Linux only)
* Add `--wmi-timeout` option (Windows)
* Add `--logo-type small` to search for small logos
* Support detecting brightness of external displays with DDC/CI (guard behind `--allow-slow-operations`) (Brightness)
* Add option `--size-ndigits` and `--size-max-prefix` (#494)
* Add option `--processing-timeout` to the timeout when waiting for child processes.
* Public IP module prints the IP location if `--publicip-url` is not set (PublicIP)
* Add option `--localip-default-route-only` (LocalIP)
* Add option `--weather-location` (Weather)
* Support iTerm non-ascii font detection (Terminal, macOS)
* Add option `--title-color-user`, `--title-color-at` and `--title-color-host` (Title)
* Add Exherbo logo and package manager count (Packages, Linux, #503)
* Add module `Terminal Size` which prints the number of terminal width and height in charactors and pixels
* Add new option `--temperature-unit`
* Better CPU and Host detection for Android (Android)
* Support yakuake terminal version & font detection (Terminal, Linux)
* Add new option `--bright-color` which can be used to disable the default bright color of keys, title and ASCII logo.
* Add module `Monitor` which prints physical parameters (native resolutions and demensions) of connected monitors
* Support path with environment variables for `--logo-source` and `--load-config`.

Bugfixes:
* Fix possible hanging (TerminalFont, #493)
* Fix heap-buffer-overflow reading (DisplayServer, Linux)
* Fix false errors when built without libnm support (Wifi, Linux)
* Properly detect CPU on POWER (CPU, Linux)
* Fix compatibility with Fig (Terminal, macOS)
* Fix option `--title-fqdn` doesn't work (Title)
* Fix used spaces calculation (Disk, Linux / BSD / macOS, #508)
* Fix `--brightness-format` (Brightness)
* Fix specifying `--set-keyless` with the same key second time won't override the value set before (#517)
* Fix specifying `--color` second time won't clear the value set before (#517)

Logo:
* Change the special handling of `kitty` protocol with `.png` image file to a new image protocol `kitty-direct`. This is the fastest image protocol because fastfetch doesn't need to pre-encode the image to base64 or something and the image content doesn't need to be transmitted via tty. Note:
1. Although konsole was said to support `kitty` image protocol, it doesn't support `kitty-direct`
2. wezterm support more image formats other than `.png` (tested with `.jpg` and `.webp`)
* Port all logos supported by neo(wo)fetch. Fastfetch now has 350 builtin logos in total.

# 1.12.2

Features:
Expand Down
Loading