李通洲
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
李通洲
51c70bc44a
Temps: support macOS
2022-09-26 15:29:11 +08:00
李通洲
8e922abf73
TerminalFont: split code of different implementations
2022-09-24 22:18: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
Linus Dierheimer
3d0653025e
Leak sanitizer: no false positives
2022-09-22 22:02:58 +02:00
李通洲
cbab8d7f70
Fix some memleaks
2022-09-22 21:28:20 +08:00
李通洲
6e09157235
Battery: add power adapter support ( macOS )
2022-09-22 19:07:18 +08:00
李通洲
464a57b319
Locale: simply
2022-09-22 17:51:30 +08:00
Linus Dierheimer
d31d157b00
New caching mechanism for CPU
2022-09-21 17:26:10 +02:00
李通洲
f9fa482b83
Locale: try detecting with locale command
...
in case $LC_* envs are not set ( macOS )
2022-09-21 18:10:50 +08:00
李通洲
65ed48a1bc
Swap: prints Disabled instead of 0 B / 0 B (0%) which seems a bug
2022-09-21 18:10:50 +08:00
李通洲
9da97f5860
WMTheme: fix detection on macOS; metion macOS support in README
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
李通洲
254c4e5f50
WMTheme: support macOS
2022-09-20 21:49:11 +08:00
Linus Dierheimer
a9cb178315
Better error messages for memory & swap
2022-09-20 15:12:24 +02:00
李通洲
e60537512e
Media: add playing status
2022-09-20 18:07:46 +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
fe1ad0da16
Build local ip on free bsd
2022-09-19 19:26:53 +02:00
Linus Dierheimer
6157de60e6
Processes: fail if neither apple nor sysinfo is present
2022-09-19 19:23:19 +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
李通洲
bbdeb668d6
Media: support song detection on macOS
2022-09-19 20:05:23 +08:00
Linus Dierheimer
85578c6807
Don't use url for vlc or spotify player name
2022-09-18 17:32:15 +02:00
Linus Dierheimer
d079e25a43
Fix some memory leaks
2022-09-18 16:30:26 +02:00
Linus Dierheimer
fd75f0b7e7
GH actions: build with libplist enabled
2022-09-18 16:00:28 +02:00
Linus Dierheimer
87c3459f5d
Moved terminal font detection logic to detection folder
2022-09-18 15:53:51 +02:00
Carter Li
a0a1c04011
Terminalfont: add Apple Terminal support ( macOS )
2022-09-17 21:09:37 +08:00
Carter Li
b59227e49f
Terminalfont: add iTerm2 support ( macOS )
2022-09-17 21:09:36 +08:00
Carter Li
c64e2c14c2
Processes: add macOS support
2022-09-17 16:23:04 +08:00
Slade Getz
73095ef9e9
Increased FF_PACKAGE_NUM_FORMAT_ARGS by 1 in src/modules/packages.c. Modified the help output in src/fastfetch.c. Added MacPorts pkg mngr to the README.md.
2022-09-16 11:13:02 -06:00
Slade Getz
f4fc9692eb
Merge branch 'LinusDierheimer:master' into macports_expansion
2022-09-16 10:57:50 -06:00
李通洲
09f3bd5a79
GPU: correct detection of Apple M1 GPU
...
Don't cheat
2022-09-16 23:43:08 +08:00
李通洲
9eeb216b70
util: add check macros to avoid possible mistakes
2022-09-16 23:43:08 +08:00
李通洲
f362fdb01d
Battery: move detection code into src/detection
...
Prepare for macOS implementation
2022-09-16 23:43:08 +08:00
Slade Getz
d903ccb6f6
Added support for MacPorts package manager
2022-09-15 14:17:33 -06:00
李通洲
f9695f4148
Vulkan: print detailed reason of why failing
...
instead of the general message `Failed to detect vulkan`
2022-09-15 13:32:08 +08:00
李通洲
8fdbadfbb2
LocalIp: fix --localip-show-loop on macOS
...
loop on macOS is `lo0`
2022-09-15 13:27:27 +08:00
Linus Dierheimer
5c43119836
Fix used disk space calculation
2022-09-14 22:35:07 +02:00
Linus Dierheimer
545210e25e
Don't require FF_HAVE_OPENCL on Apple
2022-09-14 22:03:23 +02:00
Linus Dierheimer
47c9fb9f6c
Refactore some macros
2022-09-14 19:03:50 +02:00
Linus Dierheimer
5e5c144582
Fix build on apple
2022-09-14 09:51:08 -07:00
Linus Dierheimer
ac330430bf
Link apple frameworks at compile time
2022-09-14 14:55:28 +02:00
Linus Dierheimer
52275b89dc
Try to unify linux and apple code paths
2022-09-14 12:41:43 +02:00
李通洲
a8b0e77189
OpenGL / OpenCL: add macOS support
...
Note: FF_LIBRARY_LOAD and friends are not used because loading framework
bundles are not supported by FF_LIBRARY_LOAD and support it is not easy.
Since CGL is guaranteed to be supported by macOS system, we simply use
static linking in this case.
2022-09-13 17:03:26 +08:00
李通洲
93ac3f1971
Library: simplify macros
2022-09-12 21:10:05 +08:00
Carter Li
7c43e4b8e7
ci: show everything with fastfetch
2022-09-12 21:10:05 +08:00