李通洲
64b9f69fb1
Swap: support freebsd
2022-10-26 17:43:08 +08:00
李通洲
aca2c01c9e
Processes: support freebsd
2022-10-26 17:43:08 +08:00
李通洲
470d160346
Uptime: support freebsd
2022-10-26 17:43:08 +08:00
李通洲
e225b496b1
Disk: don't print hidden removable volumes (macOS)
2022-10-25 20:02:26 +08:00
李通洲
f470744e44
Kernel: improve performance, detect code name (Windows)
2022-10-25 20:02:26 +08:00
李通洲
42fec6e61f
Logo: add new Windows 11 logo
...
Ref: https://github.com/dylanaraps/neofetch/pull/2187
2022-10-24 22:20:59 +08:00
李通洲
883a535441
Packages: support Chocolatey (Windows)
2022-10-23 23:28:49 +08:00
Linus Dierheimer
65b342cac7
Merge pull request #314 from CarterLi/dev
...
Improve performance on Windows
2022-10-23 15:55:33 +02:00
李通洲
1395abcf09
TerminalFont: improve Windows Terminal terminal font detection on Windows
2022-10-23 18:48:31 +08:00
李通洲
e59d64513f
Silence warnings
2022-10-23 17:54:19 +08:00
李通洲
ed85b8249a
Init: enable buffering on Windows
2022-10-23 17:54:02 +08:00
Linus Dierheimer
bddf1c67bf
Merge pull request #313 from CarterLi/fix
...
Fixes and performance improvements
2022-10-23 09:48:11 +02:00
李通洲
62ab091350
Printing: improve performace of ffPrintCharTimes
2022-10-23 10:46:09 +08:00
李通洲
1588f58726
Windows: silence warnings when building with clang
2022-10-23 10:11:54 +08:00
李通洲
688a16c941
Disk: fix --disk-folder parsing on Windows
2022-10-23 10:11:53 +08:00
李通洲
69b3a6871f
Init: improve option parsing performance
2022-10-23 10:11:53 +08:00
李通洲
0aac358e33
Init: simplify module arg parsing code
2022-10-23 10:08:02 +08:00
Linus Dierheimer
7f82f8d679
Merge pull request #312 from CarterLi/android
...
Android: add vulkan support for GPU detection
2022-10-22 18:19:32 +02:00
Linus Dierheimer
5fb96223a8
Merge pull request #308 from CarterLi/bar
...
Global: support bar output for percentage value #294
2022-10-22 18:18:44 +02:00
李通洲
e13c88cea6
Global: support bar output for percentage value #294
2022-10-22 16:15:12 +08:00
李通洲
fbc76714f5
Android: add vulkan support for GPU detection
...
Termux does have package pciutils, but it's put inside of root-repo and
and doesn't provide libpci.pc. So I think use vulkan can be a better
option than libpci because vulkan.so is provided by Android system.
To build with android support, install `vulkan-headers` and
`vulkan-loader-android` (for `vulkan.pc`).
2022-10-20 17:42:01 +08:00
Linus Dierheimer
c7adbc1309
Merge pull request #311 from LinusDierheimer/revert-306-dev
...
Revert "Add Univalent GNU/Linux's logo"
2022-10-19 08:29:53 +02:00
Linus Dierheimer
b27453d275
Revert "Add Univalent GNU/Linux's logo"
2022-10-19 08:29:39 +02:00
Linus Dierheimer
aa0501b853
Merge pull request #306 from Jin-Asanami/dev
...
Add Univalent GNU/Linux's logo
2022-10-19 08:23:12 +02:00
Jin Asanami
596c776463
fix univalent's colours
2022-10-19 12:18:39 +09:00
Linus Dierheimer
eb1738b1c6
Merge pull request #309 from CarterLi/swap
...
Swap: split code out from memory detection
2022-10-18 20:34:03 +02:00
Linus Dierheimer
0505926c75
Merge pull request #307 from CarterLi/dev
...
Disk: add volume name detection; don't print 0B / 0B (0%)
2022-10-18 20:25:13 +02:00
李通洲
581c6f547d
Swap: split code out from memory detection
...
1. Since swap module is disabled by default, swap detection is unnecessary in most cases.
2. On platform other than Linux, swap detection doesn't share code with memory.
3. Swap detection can be expensive. On Windows, it requires another WMI query which can lag heavily in some cases. Don't pay for you don't use.
2022-10-19 00:24:17 +08:00
李通洲
3d5ef186ba
Disk: don't convert NAN to integer; don't print 0B / 0B (0%)
...
fix ASAN warning: `runtime error: nan is outside the range of representable values of type 'unsigned char'`
2022-10-18 21:23:29 +08:00
李通洲
e3ea39afaa
Disk: add volume name detection
2022-10-18 21:23:29 +08:00
Jin Asanami
7f9269cff2
Update builtin.c
2022-10-18 11:30:48 +09:00
Jin Asanami
bbcc040dc4
Update README.md
2022-10-18 11:27:54 +09:00
Jin Asanami
727a6988c2
Update builtin.c
2022-10-18 11:26:31 +09:00
Linus Dierheimer
7bbd2aee94
Merge pull request #305 from LinusDierheimer/work/disk_refactor
...
Work/disk refactor
2022-10-17 18:24:29 +02:00
Linus Dierheimer
b812f1dcb4
Disk: Fix build on windows
2022-10-17 17:52:43 +02:00
Linus Dierheimer
fb2dca2eaf
Merge pull request #303 from CarterLi/win
...
Windows: fix kernel detection; simplify WMI query code
2022-10-17 17:48:15 +02:00
Linus Dierheimer
a03eaed4e2
Disk: add options#
2022-10-17 17:35:06 +02:00
Linus Dierheimer
ee705363c1
Disk: Don't always build apple code
2022-10-17 17:13:45 +02:00
Linus Dierheimer
c1fec9b411
Disk: Apple implementation working
2022-10-17 08:10:58 -07:00
Linus Dierheimer
19a9b18c69
Disk: Linux impl working
2022-10-17 13:19:48 +02:00
李通洲
38b3aae1e3
Windows: simplify WMI query code
...
by making C++ code more C++
2022-10-17 00:17:26 +08:00
李通洲
5d5663e2a7
Kernel: fix detection on Windows
...
According to MSDN, GetVersionExA is not reliable. We have to query WMI instead.
2022-10-17 00:17:19 +08:00
Linus Dierheimer
973eb8127e
Merge pull request #302 from VitoFe/dev
...
Add Garuda small variant
2022-10-15 23:04:03 +02:00
VitoFe
2499cbdab8
Add Garuda small variant
2022-10-15 18:05:21 +00:00
Linus Dierheimer
ec80a41871
Merge pull request #298 from CarterLi/dev
...
TerminalShell: improve speed on Windows
2022-10-15 19:49:44 +02:00
李通洲
a829e85ef5
LocalIP: support --localip-name-prefix on Windows
2022-10-16 01:34:26 +08:00
李通洲
a090bed6c0
Logo: try printing logo on Windows Server
...
Completely untested
2022-10-15 23:46:00 +08:00
李通洲
76684e49ca
TerminalShell: speed up PowerShell version detection by querying the version of pwsh.exe file
...
Also add cmd version detection
2022-10-15 22:45:30 +08:00
李通洲
c1fc6e2762
Processing: handle a possible error
2022-10-15 21:59:50 +08:00
李通洲
437431a821
TerminalShell: support Windows PowerShell version detection
2022-10-15 21:44:28 +08:00