Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes default Red Hat (rhel) logo to current logo "The hat" #148

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ and this project (partially) adheres to [Semantic Versioning](https://semver.org
### Added
- Official EndeavourOS distribution support
- Display server protocol to `WindowManager`
- New Red Hat logo "The Hat"

### Changed
- Allow `df` output to contain Unicode characters
- Extend logos consistency test case to all logo styles
- `WindowManager` API value format: now an object with `name` and `display_server_protocol` attributes
- Old Red Hat logo is available as alternate logo `shadowman`

## [v4.14.2.0] - 2023-08-26
### Added
Expand Down
1 change: 1 addition & 0 deletions COPYRIGHT.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ See <https://www.gnu.org/licenses/gpl-3.0.txt> for the full license text.
* Elementary OS proper ASCII logo integration by @SomethingGeneric <[email protected]>
* Pop!\_OS proper ASCII logo integration by @airvue
* Project logo by Brume <[email protected]>
* Red Hat logo "The hat" by @helmchen

## Maintainers

Expand Down
32 changes: 31 additions & 1 deletion archey/logos/rhel.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,39 @@

from archey.colors import Colors

COLORS = [Colors.RED_BRIGHT, Colors.WHITE_BRIGHT, Colors.RED_NORMAL]
COLORS = [Colors.RED_BRIGHT, Colors.WHITE_BRIGHT]

LOGO = [
"""{c[0]} .MM:..:MMMMMMM. """,
"""{c[0]} MMMMMMMMMMMMMMMMMM """,
"""{c[0]} MMMMMMMMMMMMMMMMMMMM. """,
"""{c[0]} MMMMMMMMMMMMMMMMMMMMMM """,
"""{c[0]} ,MMMMMMMMMMMMMMMMMMMMMM: """,
"""{c[0]} MMMMMMMMMMMMMMMMMMMMMMMM """,
"""{c[0]} .MMMM' MMMMMMMMMMMMMMMMMMMMMM """,
"""{c[0]} MMMMMM `MMMMMMMMMMMMMMMMMMMM. """,
"""{c[0]} MMMMMMMM MMMMMMMMMMMMMMMMMM . """,
"""{c[0]} MMMMMMMMM. `MMMMMMMMMMMMM' MM. """,
"""{c[0]} `MMMMMMMMMMMMM. `""` ,MMMMM. """,
"""{c[0]} `MMMMMMMMMMMMMMMMM:. .:MMMMMMMM. """,
"""{c[0]} MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM """,
"""{c[0]} MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM: """,
"""{c[0]} MMMMMMMMMMMMMMMMMMMMMMMMMMMMMM """,
"""{c[0]} `MMMMMMMMMMMMMMMMMMMMMMMM: """,
"""{c[0]} ``MMMMMMMMMMMMMMMMM' """,
"""{c[0]} `""` """,
"""{c[1]} R e d H a t """,
]

# Alias to the current logo "the hat"
COLORS_HAT = COLORS
LOGO_HAT = LOGO


# Alternative logo : "Shadowman" (tho old logo).
COLORS_SHADOWMAN = [Colors.RED_BRIGHT, Colors.WHITE_BRIGHT, Colors.RED_NORMAL]

LOGO_SHADOWMAN = [
"""{c[0]} {c[2]}\\`.-..........\\`{c[0]} """,
"""{c[0]} {c[2]}\\`////////::.\\`-/.{c[0]} """,
"""{c[0]} {c[2]}-: ....-////////.{c[0]} """,
Expand Down
Loading