李通洲
ccfe961a1f
DiskIO (FreeBSD): support disk name, size and physical type detection
2023-12-04 13:54:26 +08:00
李通洲
97211df285
DiskIO (macOS): detect disk size
2023-12-04 08:59:41 +08:00
李通洲
2979bfe4ca
DiskIO: detect physical drive size
2023-12-03 19:02:29 +08:00
李通洲
42fd1a9cd7
DisplayServer (FreeBSD): enable libdrm support
2023-12-03 12:10:52 +08:00
李通洲
36298b8e93
Swap (FreeBSD): fix impl
2023-12-01 23:23:29 +08:00
李通洲
390801aee7
DisplayServer: fix build on FreeBSD
2023-11-30 20:25:23 +08:00
李通洲
e3f5563f8d
DisplayServer (Linux): fix build for Ubuntu 20.04 (v2)
2023-11-30 20:05:51 +08:00
李通洲
4a54b20c68
DisplayServer (Linux): fix compiling on Ubuntu 20.04
2023-11-30 16:42:56 +08:00
李通洲
ea3d904bfe
DisplayServer (Linux): improve performance for X11
...
Try fixing #634
2023-11-30 16:31:35 +08:00
李通洲
67f4b991d7
DisplayServer (Linux): use libdrm
...
Which correctly detects current mode ( instead of preferred mode ) and
supports refresh rate
2023-11-30 10:47:03 +08:00
apocelipes
1431cdcc83
fix(Terminal): make fastfetch works under ltrace and perf
...
Fastfetch incorrectly displays the terminal name as
"ltrace" or "perf" when debugging itself with ltrace and perf.
minor fix: remove duplicated ffStrbufClear since getShellVersion
already called it.
2023-11-28 23:22:51 +08:00
李通洲
968a43cb29
Monitor (Linux): don't report disabled monitors
2023-11-28 16:11:32 +08:00
李通洲
0c522bdc10
Display (Linux): don't report disabled displays when using DRM
...
Ref: #634
2023-11-28 07:59:28 +00:00
李通洲
5db3c903e5
Host (macOS): fix build
2023-11-28 15:05:10 +08:00
李通洲
91c23c533a
Host (macOS): add general method to query product name
2023-11-28 13:36:19 +08:00
李通洲
00721630ce
Board (Apple): use machine model indentifier as motherboard name
2023-11-28 13:36:19 +08:00
李通洲
167b130011
Uptime (Linux): fix maybe uninitialized variable errors
2023-11-27 20:52:14 +08:00
李通洲
3a0b132001
TerminalFont: support alacritty.toml
...
Fix #631
2023-11-27 10:12:22 +08:00
李通洲
f63f31db0a
Memory (Linux): fix compiler warnings
2023-11-25 19:40:36 +08:00
李通洲
96d60184d5
Memory (Linux): try improving performance
2023-11-24 10:12:34 +08:00
李通洲
919bd8231e
Swap (Linux): don't use syscall
...
Fix #620
2023-11-24 10:12:22 +08:00
李通洲
41fed1da5f
Uptime (Linux): don't use syscall
...
Fix #620
2023-11-24 10:12:10 +08:00
Marius Messerschmidt
40e977be31
Spelling: fix spelling of files in src/detection/
2023-11-18 15:47:22 +01:00
Carter Li
854a7cfeba
Merge pull request #624 from mame98/cleanup
...
Minor cleanups reported by clang-tidy
2023-11-18 21:05:21 +08:00
Marius Messerschmidt
f78f6ceb54
fixup! ClangTidy: avoid reserved identifier names
2023-11-18 12:31:57 +01:00
Marius Messerschmidt
b0d3e7ef9e
ClangTidy: avoid implicit widening of multiplication result
2023-11-18 12:31:57 +01:00
Marius Messerschmidt
6fe0eb5677
ClangTidy: avoid different parameter names for same function
2023-11-18 12:31:57 +01:00
Marius Messerschmidt
42c03b2383
ClangTidy: avoid reserved identifier names
2023-11-18 12:31:57 +01:00
Marius Messerschmidt
b1319b34e7
ClangTidy: remove duplicated includes
2023-11-18 12:31:57 +01:00
Marius Messerschmidt
42f647378a
ClangTidy: remove redundant expression
2023-11-18 12:31:57 +01:00
李通洲
2e46b5932e
Terminal (Windows): ignore the shell warpper servercoreshell
2023-11-18 16:38:01 +08:00
李通洲
4510ef7e1c
Shell (Windows): tidy
2023-11-18 16:24:23 +08:00
李通洲
36bf978dc1
Bluetooth (Windows): remove hard dep of bthprops
...
Also fix resource leaks and better error message
Ref: https://github.com/fastfetch-cli/fastfetch/issues/623#issuecomment-1815682290
2023-11-18 16:09:54 +08:00
李通洲
7f999dfaaf
OpenGL (Windows): remove hard dep of opengl32
...
Ref: https://github.com/fastfetch-cli/fastfetch/issues/623#issuecomment-1815682290
2023-11-18 15:40:09 +08:00
李通洲
6f6a68f7e5
Brightness (Windows): remove hard dep of dxva2
...
Ref: https://github.com/fastfetch-cli/fastfetch/issues/623#issuecomment-1815682290
2023-11-18 15:25:47 +08:00
Marius Messerschmidt
960bbfef59
ClangTidy: fix misplaced cast
2023-11-17 22:18:19 +01:00
李通洲
3f9462d7c8
Package (macOS): try supporting nix
2023-11-16 10:04:17 +08:00
李通洲
413984963e
TerminalShell: support oils and elvish
2023-11-15 16:30:46 +08:00
李通洲
f2fc92dbf7
Brightness (Linux): better ddcutil 2.x compatibility
2023-11-12 10:47:04 +08:00
李通洲
41aaaa3429
Global: silence compiler warnings
2023-11-09 13:46:45 +08:00
李通洲
f9597eba39
Global: remove #ifndef FF_INCLUDED_* guards
2023-11-09 13:46:45 +08:00
李通洲
ac654ff346
Host (macOS): update the latest models
2023-11-08 10:43:17 +08:00
李通洲
f93341ac61
TerminalShell: fix terminal name detection on NixOS
...
oops. No one report that...
2023-11-08 09:02:52 +08:00
李通洲
3e0d97db2e
Platform: detect system page size
2023-11-08 00:10:16 +08:00
李通洲
499e6c85a0
Battery (Windows): slilence compiler warnings
2023-11-07 09:59:00 +08:00
李通洲
c55ba2685f
Battery (macOS): add status Discharging to be consistant with other platforms
2023-11-07 08:56:07 +08:00
李通洲
f5b987dba9
Battery (Windows): detect cycle count
2023-11-06 19:40:40 +08:00
李通洲
f8eabdd8a6
Battry (Linux): try detecting cycle count and temperature
2023-11-06 19:08:17 +08:00
李通洲
5ab2c3456d
Battery (Apple): better detection
2023-11-06 16:42:16 +08:00
李通洲
97d9ffd193
Bios: detect firmware type
2023-11-06 15:29:55 +08:00