李通洲
4632fe8cd9
Android: fix compiling
2022-09-27 23:30:55 +08:00
Linus Dierheimer
48300429af
Keep detected colors when using none logo
...
#264
2022-09-27 15:02:35 +02:00
李通洲
f324794f54
LocalIp: add option --localip-name-prefix
...
eg: --localip-name-prefix en
2022-09-26 16:20:51 +08:00
李通洲
6e3a329d3b
Users: add new module
...
I don't think it's very useful but neofetch support it
2022-09-26 15:29:11 +08:00
李通洲
b2da8bac41
Font: add option to display fonts inline ( enabled by default )
2022-09-26 15:29:11 +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
李通洲
55c939a8ef
macOS: don't build cursor / icons / theme
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
李通洲
47a0b8969f
FFstrbuf: more inline fns and more tests
2022-09-26 14:57:54 +08:00
AloneER0
24e8158116
Fixed formatting
2022-09-25 16:05:06 +02:00
AloneER0
1d9a938ff3
Restored Older Ubuntu Logo
2022-09-25 15:41:42 +02:00
AloneER0
cd01d16eb9
New Ubuntu logo
2022-09-25 13:31:59 +02: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
李通洲
737b36e799
FFstrbuf / FFlist: add some improvements
...
1. make some short fns inlinable
2. simplify implementation
3. fix possible crashes with non-allocated strbuf
4. make the default init fn allocates no memory
5. add more tests
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
Linus Dierheimer
d337126c80
Fix possible crash in strbuf
2022-09-24 00:43:55 +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
007ded2883
Revert "Don't inline strbuf methods on macos"
...
This reverts commit c32f2f2f2b .
2022-09-23 12:11:04 +02:00
Linus Dierheimer
c32f2f2f2b
Don't inline strbuf methods on macos
2022-09-23 12:05:07 +02:00
Linus Dierheimer
98c94b01e5
Some more standard comformance
2022-09-23 11:51:16 +02:00
Linus Dierheimer
0dda4efa8d
Merge pull request #251 from CarterLi/master
...
PowerAdapter: make it a seperated module ( macOS )
2022-09-23 10:46:56 +02:00
Linus Dierheimer
877ed94187
Fix possible crash if giving invalid format string
...
#252
2022-09-23 10:43:11 +02:00
李通洲
484264027c
FFstrbuf: don't free string literals
2022-09-23 15:33:23 +08:00
李通洲
5498b0b042
PowerAdapter: make it a seperated module
2022-09-23 15:33:23 +08:00
Linus Dierheimer
8f30d0cdd8
Move inline functions to end of header
2022-09-23 01:27:25 +02:00
Linus Dierheimer
80f18e2473
Don't force inline
2022-09-23 00:49:43 +02:00
Linus Dierheimer
1700d23c26
Always inline some strbuf methods
2022-09-23 00:10:48 +02:00
Linus Dierheimer
0115b638de
Destroy instance in flashfetch too
2022-09-22 22:04:32 +02: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
李通洲
3068b5bcb2
Memory: fix percentage calculation
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
李通洲
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
李通洲
e5b110375f
FFlist: add tests
2022-09-20 23:56:43 +08:00