Michael Bromilow
b7c9f8733a
Type changes for back-compat to 3.6, linting pass
2024-04-13 21:22:03 +01:00
Michael Bromilow
d17dfc7d29
Tests cleanup
2024-04-13 21:00:40 +01:00
Michael Bromilow
76cfe3161a
Clean up Entry
2024-04-13 20:47:55 +01:00
Michael Bromilow
641dcd21ad
Entries: Use __iter__
and __next__
magic methods.
...
Incl. changed tests where appropriate.
2024-04-08 22:23:10 +01:00
Michael Bromilow
02ea37fbbf
[Output/Entry] Changes entries output
method to pretty_value
property.
...
This is a "bit more OOP" and easier to understand.
+ Unrelated change: Fix stupid range test I added to `Colors` -- has been bugging me since I noticed it :)
2024-04-08 22:18:50 +01:00
ac4285adcf
[META] Bumps Archey to v4.14.3.0
2024-04-06 09:35:53 +02:00
Michael Bromilow
d5fc44d2d9
[GPU] Parses lspci
to avoid classing 3D NAND devices as GPUs.
...
Closes #149 .
2024-04-04 10:47:57 +00:00
0a970c010f
[LOGO] Adds official support for Armbian
...
This patch is inspired from <armbian/build#2499>.
Due to Armbian "base-files", `Distro` entry will still show "Debian" on
this platform.
2024-04-01 21:49:08 +02:00
Helmut Gehrer
df6117827e
Adds new RHEL-Logo while keeping the old as shadowman
2024-02-19 07:21:44 +00:00
8817077a5e
[TEST] Fixes logos consistency test case ignoring alternative styles
2024-02-17 17:39:52 +01:00
6e4c74acb6
[STYLE] Fixes Black (24+) formatting
2024-02-17 10:07:13 +01:00
Tobilike
121b1cc796
[CORE] Adds (Nerd Fonts) icons for entries ( #144 )
...
Co-authored-by: Michael Bromilow <12384431+ingrinder@users.noreply.github.com>
Co-authored-by: Samuel FORESTIER <samuel+dev@forestier.app>
2024-01-14 17:54:08 +00:00
d3a08e6ff0
[WINDOW_MANAGER] Adds display server protocol to entry
...
Co-Authored-By: Tobilike <80016610+Tobilike@users.noreply.github.com>
2024-01-12 18:55:31 +00:00
Michael Bromilow
56e36c0498
[TESTS] Fixes Terminal
entry test ( #143 )
...
This patch is a fix-up for 44a357efa15a8d7f9818ec575c2caff3d89670af.
2024-01-07 08:49:53 +00:00
Tobilike
f864e96bf5
[DISTROS] Adds support for EndeavourOS ( #140 )
...
Co-Authored-By: Samuel FORESTIER <samuel+dev@forestier.app>
2024-01-06 23:11:04 +01:00
c54fbd53cb
[DISK] Allows df
output to contain Unicode characters
...
> closes #139
2023-11-02 23:51:15 +01:00
Samuel FORESTIER
1ab1f6957e
[META] Bumps Archey to v4.14.2.0
2023-08-26 17:48:55 +02:00
Samuel FORESTIER
12a0bcf34d
[LAN_IP] Allows link-local IP addresses hiding
...
> closes #137
2023-08-24 06:18:40 +00:00
Steffen Beyer
f6768f77d0
[LOGO] Add Darwin retro low-intensity logo ( #135 )
...
Co-authored-by: Samuel FORESTIER <HorlogeSkynet@users.noreply.github.com>
Co-authored-by: Steffen Beyer <steffen@beyer.io>
2023-08-23 16:53:45 +00:00
Samuel FORESTIER
e082fcb594
[DOC] Add link to distribution logos Wiki page as -l
help message
...
> See <https://github.com/HorlogeSkynet/archey4/pull/135#issuecomment-1676404113 >.
2023-08-15 18:41:39 +02:00
Tommy Wang
c522a92608
[LOGO] Add Darwin WWDC 2020 alternate logo
2023-06-25 12:38:59 +00:00
Michael Bromilow
44a357efa1
[Colors] Add Colors8Bit
class for 256-color text
...
Splits `Colors` into a base class `Style` and a subclass `Colors`.
Adds a new subclass `Colors8Bit`, which adds support for 256 colours
(8-bit) mode.
2023-06-25 12:38:59 +00:00
Samuel FORESTIER
bc5a9e8ba8
[TEMPERATURE] Allows vcgencmd
to actually be present in PATH
...
> See <https://github.com/HorlogeSkynet/archey4/issues/130#issuecomment-1412677760 >
2023-06-18 09:41:09 +02:00
Michael Bromilow
c6229484fc
[WAN_IP] Fall back to HTTP properly on DNS connection errors ( #134 )
2023-06-18 07:02:09 +00:00
Samuel FORESTIER
c0256765e0
[UPTIME] Logs uptime
errors at warning level ( #133 )
2023-06-18 06:49:03 +00:00
Snootiful
092788977c
[DISTROS] Adds support for Nobara ( #131 )
2023-03-18 17:03:15 +00:00
Samuel FORESTIER
415a320949
[STYLE] Fixes Black formatting
2023-03-18 18:00:12 +01:00
Samuel FORESTIER
dee0e121c6
[STYLE] Silences new Pylint C0325
2023-03-18 17:57:51 +01:00
Samuel FORESTIER
9e9e39fcaa
[META] Bumps Archey to v4.14.1.0
2023-01-20 21:20:36 +01:00
Samuel FORESTIER
12343f206f
[CPU] Fixes detection on aarch64 platforms, lacking ACPI PPTT
...
This patch brings proper support for Raspberry Pi 4.
It requires util-linux v2.37+ (see <73c0a766ff
>).
> closes #127
2023-01-20 17:29:07 +01:00
Jin Asanami
814f660362
Update moevalent.py
2022-11-28 16:50:32 +00:00
Jin Asanami
f1ecbdee3a
Update univalent.py
2022-11-28 16:50:32 +00:00
Jin Asanami
676bdc218f
[LOGO] Adds support for Univalent and Moevalent ( #125 )
2022-11-22 18:17:33 +00:00
Samuel FORESTIER
f43ea3cefd
[STYLE] Fixes Black formating (follow-up for e1169a4)
2022-11-15 20:33:21 +01:00
Michael Bromilow
e1169a48aa
[Output] Adds configuration option for preferred logo style
2022-11-15 19:00:57 +00:00
Jack Gannon
35fa95e28b
enso support
2022-11-14 20:06:28 +00:00
Samuel FORESTIER
aac07a5567
[STYLE] Restores support for Python 3.6 and fixes isort
2022-11-14 21:02:53 +01:00
Samuel FORESTIER
0b931ba07d
[STYLE] Fixes compliance with new Mypy default (no_implicit_optional)
2022-11-14 20:58:27 +01:00
Samuel FORESTIER
983f3b4cc6
[META] Bumps Archey to v4.14.0.1
2022-10-08 14:41:56 +02:00
Samuel FORESTIER
2061fc7536
[CORE][CONFIG] Catches PermissionError
when opening a config. files
2022-10-08 14:37:39 +02:00
Samuel FORESTIER
db38abe256
[CORE][FIX] Silences warning about broken Custom
entry ( #121 )
...
> closes #120
2022-10-07 16:55:20 +00:00
Samuel FORESTIER
3b261e93f9
[TEST] Fixes a remaining trace of vX.Y.Z
version format
2022-09-22 16:51:47 +02:00
Samuel FORESTIER
43e7521a60
[META] Bumps Archey to v4.14.0.0
2022-09-22 16:47:04 +02:00
Samuel FORESTIER
603d0368d2
[ENTRY][Packages] Improves environment honoring (and its documentation)
2022-09-21 20:57:02 +02:00
Samuel FORESTIER
27e33f144a
[BREAKING][CORE] Don't report WSL as a "Windows" distribution
...
This patch is also a fix for environments lacking of systemd support (as
virt-what actually does not detect "wsl" fact).
Archey will now honor the logo of the Linux distribution WSL-emulated.
> closes #118
2022-09-18 11:42:31 +02:00
Samuel FORESTIER
f613fef4c9
[STYLE] Formats the code using Black and isort
2022-09-18 11:09:21 +02:00
Samuel FORESTIER
01d1d90bf8
[ENTRY][Model] Stops relying on dmidecode
for virt. env. probing
...
On Linux, we don't actually need `dmidecode` to gather hardware info.
This commit follows da5780e2 and simplify furthermore the `Model` entry
initialization.
Although it's only a first step, as `virt-what` uses `dmidecode` under
the hood.
In some virtual environments, `Model` might now show additional info.
> See <https://0pointer.net/blog/projects/no-more-dmidecode.html >
2022-09-17 16:46:48 +02:00
Samuel FORESTIER
d6391dcc55
[LOGOS] Adds proper support for Siduction Linux distribution
2022-09-17 16:14:14 +02:00
Samuel FORESTIER
da5780e288
[ENTRY][CPU|Model] Reworks probing based on platform and distribution
...
> see #114 for rationale
2022-09-17 15:48:53 +02:00
Samuel FORESTIER
9ac24634cd
[ENTRY][Terminal] Adds support for Windows Terminal
...
Since v0.1.1431.0, Windows Terminal sets `WT_SESSION` environment
variable that we may use to detect it.
> See <https://github.com/microsoft/terminal/pull/897 >
`TERM_PROGRAM` is not supported (yet ?).
> See <https://github.com/microsoft/terminal/pull/1828 >
2022-09-17 15:21:21 +02:00