李通洲
|
946154dbac
|
Font: suppress IO when detecting fonts on macOS
Removes
* 2022-09-29 07:06:58.649 flashfetch[92995:31447779] XType: com.apple.fonts is not accessible.
* 2022-09-29 07:06:58.649 flashfetch[92995:31447779] XType: XTFontStaticRegistry is enabled.
|
2022-09-29 22:19:08 +08:00 |
|
李通洲
|
ca75b6b55b
|
Font: fix compiling on Android; detect more fonts on macOS
|
2022-09-29 22:13:27 +08:00 |
|
Linus Dierheimer
|
e6e189497d
|
Refactor font output
|
2022-09-29 14:15:11 +02:00 |
|
李通洲
|
e7c9b80d85
|
Fix building on Linux
It seems that glibc doesn't support strnstr, and strcasestr requires
_GNU_SOURCE to be defined
|
2022-09-29 18:33:37 +08:00 |
|
Linus Dierheimer
|
b8656d5e12
|
Fix build on BSD
|
2022-09-29 12:24:00 +02:00 |
|
Linus Dierheimer
|
40588e1a39
|
Fix build on MacOS
#261
|
2022-09-29 11:35:59 +02:00 |
|
李通洲
|
db6ad5a268
|
CpuUsage: improve performance
by moving the first `/proc/stat` query earlier
|
2022-09-27 23:41:39 +08:00 |
|
李通洲
|
38a6d07c85
|
TerminalFont: support Termux
|
2022-09-27 23:30:55 +08:00 |
|
李通洲
|
4632fe8cd9
|
Android: fix compiling
|
2022-09-27 23:30:55 +08:00 |
|
李通洲
|
100e59fd49
|
Temps: add options to enable detection ( disabled by default )
|
2022-09-26 15:29:11 +08:00 |
|
李通洲
|
5fdb0719f2
|
Host: pretty printing hardware model ( macOS )
|
2022-09-26 15:29:11 +08:00 |
|
李通洲
|
d4368f56fd
|
Datetime: fix pretty printing
|
2022-09-26 15:29:11 +08:00 |
|
李通洲
|
0be2410925
|
Font: support macOS
The original result format was too Linux specific to make it portable, so I simplified it.
|
2022-09-26 15:29:11 +08:00 |
|
李通洲
|
0f824536f9
|
Temps: open SMC service only once ( macOS )
|
2022-09-26 15:29:11 +08:00 |
|
李通洲
|
51c70bc44a
|
Temps: support macOS
|
2022-09-26 15:29:11 +08:00 |
|
Linus Dierheimer
|
8e856c3dd6
|
Wayland: don't leak memory
#256
|
2022-09-24 16:34:03 +02:00 |
|
李通洲
|
8e922abf73
|
TerminalFont: split code of different implementations
|
2022-09-24 22:18:48 +08:00 |
|
Linus Dierheimer
|
f5ac85c4e3
|
Only detect temps if --allow-slow-operations is given
|
2022-09-24 15:59:36 +02:00 |
|
李通洲
|
d6a1caa89f
|
TerminalFont: fix resource leaks on macOS
|
2022-09-24 01:49:08 +08:00 |
|
李通洲
|
ed5d7292ba
|
TerminalFont: support Windows Terminal detection
|
2022-09-24 01:49:08 +08:00 |
|
李通洲
|
ee7231d87c
|
Media: fix detecting songs with CJK chars
|
2022-09-23 21:23:48 +08:00 |
|
李通洲
|
371b3a2d75
|
Disk: better folder detection, support removable devices ( macOS )
|
2022-09-23 21:23:48 +08:00 |
|
Linus Dierheimer
|
98c94b01e5
|
Some more standard comformance
|
2022-09-23 11:51:16 +02:00 |
|
李通洲
|
5498b0b042
|
PowerAdapter: make it a seperated module
|
2022-09-23 15:33:23 +08:00 |
|
李通洲
|
6e09157235
|
Battery: add power adapter support ( macOS )
|
2022-09-22 19:07:18 +08:00 |
|
Linus Dierheimer
|
d31d157b00
|
New caching mechanism for CPU
|
2022-09-21 17:26:10 +02:00 |
|
李通洲
|
3068b5bcb2
|
Memory: fix percentage calculation
|
2022-09-21 18:10:50 +08:00 |
|
李通洲
|
fa065c1040
|
Terminal: fix Alacritty detection on macOS
|
2022-09-21 18:10:50 +08:00 |
|
李通洲
|
664017ba81
|
OS: print codename ( macOS )
|
2022-09-21 18:10:50 +08:00 |
|
李通洲
|
1d6fefd40b
|
CpuUsage: support macOS
|
2022-09-21 18:10:50 +08:00 |
|
Linus Dierheimer
|
fea4a9dfd5
|
Fix build with ancient libpci versions
#248
|
2022-09-21 12:02:14 +02:00 |
|
Linus Dierheimer
|
01a917982c
|
Fix build on macos
|
2022-09-20 15:21:39 +02:00 |
|
Linus Dierheimer
|
a9cb178315
|
Better error messages for memory & swap
|
2022-09-20 15:12:24 +02:00 |
|
李通洲
|
7f19cb1d21
|
Battery: print error info instead of nan% ( macOS )
|
2022-09-20 18:26:50 +08:00 |
|
李通洲
|
e60537512e
|
Media: add playing status
|
2022-09-20 18:07:46 +08:00 |
|
李通洲
|
431f570f05
|
Media: support player detection ( macOS )
|
2022-09-20 18:07:46 +08:00 |
|
李通洲
|
482e5a5eff
|
util/cf_helpers: rename; return error info if failed
|
2022-09-20 17:50:14 +08:00 |
|
Linus Dierheimer
|
b8fc471678
|
Better BSD support
|
2022-09-20 11:16:08 +02:00 |
|
Linus Dierheimer
|
f0cee064bd
|
Basic BSD support
|
2022-09-19 23:16:43 +02:00 |
|
Linus Dierheimer
|
6bd933eba2
|
Enable BSD support in CMake
|
2022-09-19 22:23:31 +02:00 |
|
Linus Dierheimer
|
f3e6d04c8e
|
Fix build on macos the second
|
2022-09-19 21:45:39 +02:00 |
|
Linus Dierheimer
|
2a61d29be9
|
sysctl utils
|
2022-09-19 21:31:50 +02:00 |
|
Linus Dierheimer
|
49cdacd5a9
|
Build cpu on free bsd
|
2022-09-19 19:31:29 +02:00 |
|
Linus Dierheimer
|
ce6d7e386d
|
Build wayland on free bsd
|
2022-09-19 19:29:13 +02:00 |
|
Linus Dierheimer
|
34b273186a
|
FF_LIBRARY_LOAD: don't implicit create pointer
|
2022-09-19 18:00:19 +02:00 |
|
Linus Dierheimer
|
e3acd8c155
|
Share more code between media detection on different platforms
|
2022-09-19 17:53:00 +02:00 |
|
Linus Dierheimer
|
55f28ae8ff
|
Fix build with older libpci versions the second
|
2022-09-19 16:58:25 +02:00 |
|
Linus Dierheimer
|
6f2748e208
|
Merge pull request #242 from CarterLi/master
Media: support song detection on macOS
|
2022-09-19 16:46:20 +02:00 |
|
Linus Dierheimer
|
fb3eb9666e
|
Fix build with older libpci versions
|
2022-09-19 16:43:43 +02:00 |
|
Linus Dierheimer
|
8d663300c7
|
Detect FQDN only on linux
|
2022-09-19 15:57:52 +02:00 |
|