diff options
| author | Hiram Muñoz <hirammunozr@outlook.com> | 2024-02-21 18:31:29 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-21 18:31:29 +0000 |
| commit | dad8ffd5768b38601b2ea9fa124af4a990011be4 (patch) | |
| tree | 09233f1f9cbabee1ae59ce3bfbd640904c00650a /src/config/ConfigManager.cpp | |
| parent | fc5ca391adeef3673e579ebf21759032c2455efc (diff) | |
renderer: Update splash text properties to be configurable (#4707)
* Update splash text properties to be configurable
The splash text's font and color properties have been updated to be configurable. This change includes adding new configuration values for the splash screen color and font. The rendering of the splash screen is also adjusted to use these new config values, allowing for easy customization of the splash text appearance.
* Updated to use Hyprlang config manager
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 6b54e984..cf16f52c 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -320,6 +320,8 @@ CConfigManager::CConfigManager() { m_pConfig->addConfigValue("misc:disable_hyprland_logo", {0L}); m_pConfig->addConfigValue("misc:disable_splash_rendering", {0L}); + m_pConfig->addConfigValue("misc:col.splash", {0xffffffffL}); + m_pConfig->addConfigValue("misc:splash_font_family", {"Sans"}); m_pConfig->addConfigValue("misc:force_default_wallpaper", {-1L}); m_pConfig->addConfigValue("misc:vfr", {1L}); m_pConfig->addConfigValue("misc:vrr", {0L}); |
