From ce829bd51de7cf32967960e86c11ee69596c7136 Mon Sep 17 00:00:00 2001 From: Stephen Toth Date: Thu, 4 Jan 2024 10:20:47 -0500 Subject: [PATCH] config: Disable splash message by default (#123) * Change default value of splash to false * put splash and ipc options into example config in README --- README.md | 8 ++++++++ src/config/ConfigManager.cpp | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6b89c18..cc217b8 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,14 @@ wallpaper = monitor1,/path/to/image.png #if more than one monitor in use, can load a 2nd image wallpaper = monitor2,/path/to/next_image.png # .. more monitors + +#enable splash text rendering over the wallpaper +splash = true + +#fully disable ipc +# ipc = off + + ``` Preload will tell Hyprland to load a particular image (supported formats: png, jpg, jpeg, webp). Wallpaper will apply the wallpaper to the selected output (`monitor` is the monitor's name, easily can be retrieved with `hyprctl monitors`. You can leave it empty for a wildcard (aka fallback). You can also use `desc:` followed by the monitor's description without the (PORT) at the end) diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index a043176..5adc799 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -133,7 +133,7 @@ CConfigManager::CConfigManager() { config = std::make_unique(configPath.c_str(), Hyprlang::SConfigOptions{.allowMissingConfig = true}); config->addConfigValue("ipc", {1L}); - config->addConfigValue("splash", {1L}); + config->addConfigValue("splash", {0L}); config->addConfigValue("splash_offset", {2.F}); config->registerHandler(&handleWallpaper, "wallpaper", {.allowFlags = false});