Skip to content
Open
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
19 changes: 16 additions & 3 deletions src/detection/os/os_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,12 +297,25 @@ FF_A_UNUSED static bool detectFedoraVariant(FFOSResult* result) {
return false;
}

FF_A_UNUSED static bool detectBedrock(FFOSResult* os) {
static bool detectBedrock(FFOSResult* os)
{
const char* bedrockRestrict = getenv("BEDROCK_RESTRICT");
if (bedrockRestrict && bedrockRestrict[0] == '1') {
if (bedrockRestrict && bedrockRestrict[0] == '1')
return false;

if (ffPathExists(
FASTFETCH_TARGET_DIR_ROOT "/bedrock/strata/enux",
FF_PATHTYPE_DIRECTORY) &&
parseOsRelease(
FASTFETCH_TARGET_DIR_ROOT "/bedrock/strata/enux/etc/os-release",
os))
{
return true;
}
return parseOsRelease(FASTFETCH_TARGET_DIR_ROOT "/bedrock/strata/bedrock/etc/os-release", os);

return parseOsRelease(
FASTFETCH_TARGET_DIR_ROOT "/bedrock/strata/bedrock/etc/os-release",
os);
}

FF_A_UNUSED static void detectDeepinEnhancement(FFOSResult* result) {
Expand Down
13 changes: 13 additions & 0 deletions src/logo/ascii/e.inc
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,19 @@ static const FFlogo E[] = {
.colorTitle = FF_COLOR_FG_DEFAULT,
},
#endif
#ifdef FASTFETCH_DATATEXT_LOGO_ENUX
// ENux
{
.names = { "enux" },
.lines = FASTFETCH_DATATEXT_LOGO_ENUX,
// ENux renders entirely black: logo, keys, and title.
.colors = {
FF_COLOR_FG_BLACK,
},
.colorKeys = FF_COLOR_FG_BLACK,
.colorTitle = FF_COLOR_FG_BLACK,
},
#endif
#ifdef FASTFETCH_DATATEXT_LOGO_ESHANIZEDOS
// EshanizedOS
{
Expand Down
12 changes: 12 additions & 0 deletions src/logo/ascii/e/enux.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
eeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeee
eeeee
eeeee
eeeee
eeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeee
eeeee
eeeee
eeeee
eeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeee