# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/hyprland/splashes.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.55.4/./src/helpers/Splashes.hpp.orig 2026-06-11 19:10:04.000000000 +0200 +++ Hyprland-0.55.4/./src/helpers/Splashes.hpp 2026-06-25 13:11:56.790657962 +0200 @@ -5,6 +5,7 @@ namespace NSplashes { inline const std::vector SPLASHES = { +#if 0 // clang-format off "Woo, animations!", "It's like Hypr, but better.", @@ -74,7 +75,16 @@ "How do I exit vim????", "Now with lua, it might as well be awesome.", "Have you ran your daily fastfetch yet?" - // clang-format on +#endif + "Btw you are running T2/Linux.", + "Don't forget to share, like and subscribe :-)", + "May the force be with you!", + "It only does everything™", + "He was an Arch boy, she was a T2/Linux girl...", + "Have you ran your daily neofetch yet?", + "Are we fast yet?", + "https://t2linux.com/support nudge-nudge, wink-wink.", + // clang-format on }; inline const std::vector SPLASHES_CHRISTMAS = { @@ -88,6 +98,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()); @@ -101,11 +117,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))