mirror of
https://github.com/hyprwm/hyprpaper.git
synced 2024-11-16 22:25:59 +01:00
parent
1013a80608
commit
897cf0ae26
1 changed files with 3 additions and 3 deletions
|
@ -132,9 +132,9 @@ CConfigManager::CConfigManager() {
|
||||||
|
|
||||||
config = std::make_unique<Hyprlang::CConfig>(configPath.c_str(), Hyprlang::SConfigOptions{.allowMissingConfig = true});
|
config = std::make_unique<Hyprlang::CConfig>(configPath.c_str(), Hyprlang::SConfigOptions{.allowMissingConfig = true});
|
||||||
|
|
||||||
config->addConfigValue("ipc", {1L});
|
config->addConfigValue("ipc", Hyprlang::INT{1L});
|
||||||
config->addConfigValue("splash", {0L});
|
config->addConfigValue("splash", Hyprlang::INT{0L});
|
||||||
config->addConfigValue("splash_offset", {2.F});
|
config->addConfigValue("splash_offset", Hyprlang::FLOAT{2.F});
|
||||||
|
|
||||||
config->registerHandler(&handleWallpaper, "wallpaper", {.allowFlags = false});
|
config->registerHandler(&handleWallpaper, "wallpaper", {.allowFlags = false});
|
||||||
config->registerHandler(&handleUnload, "unload", {.allowFlags = false});
|
config->registerHandler(&handleUnload, "unload", {.allowFlags = false});
|
||||||
|
|
Loading…
Reference in a new issue