# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/hyprland/spashes.patch # Copyright (C) 2025 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- Better T2 themed splashes ;-) --- Hyprland-0.53.0/src/helpers/Splashes.hpp.orig 2025-12-29 16:21:36.000000000 +0100 +++ Hyprland-0.53.0/src/helpers/Splashes.hpp 2026-01-05 14:10:41.767102412 +0100 @@ -5,6 +5,7 @@ namespace NSplashes { inline const std::vector SPLASHES = { +#if 0 // clang-format off "Woo, animations!", "It's like Hypr, but better.", @@ -101,6 +102,12 @@ "Demons come at night and they bring the end", "All I wanna say is that they don't really care about us", "Has he lost his mind? Can he see or is he blind?", +#endif + "Btw you are using T2/Linux.", + "Don't forget to share, like and subscribe :-)", + "May the force be with you!", + "It only does everything™", + "https://t2linux.com/support nudge-nudge, wink-wink.", // clang-format on }; @@ -115,6 +122,12 @@ // clang-format on }; + inline const std::vector SPLASHES_APRIL_1ST = { + // clang-format off + "Activate Linux.", + // clang-format on + }; + // ONLY valid near new years. inline static int newYear = []() -> int { auto tt = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now()); @@ -128,11 +141,13 @@ inline const std::vector SPLASHES_NEWYEAR = { // clang-format off "Happy new Year!", +#if 0 "[New year] will be the year of the Linux desktop!", "[New year] will be the year of the Hyprland desktop!", +#endif std::format("{} will be the year of the Linux desktop!", newYear), - std::format("{} will be the year of the Hyprland desktop!", newYear), + std::format("{} will be the year of the T2/Linux!", newYear), std::format("Let's make {} even better than {}!", newYear, newYear - 1), // clang-format on }; -}; \ No newline at end of file +}; --- Hyprland-0.53.0/src/Compositor.cpp.vanilla 2026-01-05 14:11:50.204452693 +0100 +++ Hyprland-0.53.0/src/Compositor.cpp 2026-01-05 14:13:08.902284263 +0100 @@ -257,6 +257,8 @@ const auto* SPLASHES = &NSplashes::SPLASHES; + if (local.tm_mon + 1 == 4 && local.tm_mday == 1) // apr 1st + SPLASHES = &NSplashes::SPLASHES_APRIL_1ST; if (local.tm_mon + 1 == 12 && local.tm_mday >= 23 && local.tm_mday <= 27) // dec 23-27 SPLASHES = &NSplashes::SPLASHES_CHRISTMAS; if ((local.tm_mon + 1 == 12 && local.tm_mday >= 29) || (local.tm_mon + 1 == 1 && local.tm_mday <= 3))