The CBackground widget is used to render background images or screenshots in hyprlock. While the implementation is internal, the widget is configured via a properties map (std::unordered_map<std::string, std::any>) during the configure phase.
Based on the class members, the following parameters are relevant for background configuration:
path: A string representing the file path to the background image.isScreenshot: A boolean indicating if the background should be a screenshot.blurSize: Integer defining the blur intensity (default: 10).blurPasses: Integer defining the number of blur passes (default: 3).noise: Float for adding noise to the background (default: 0.0117).contrast: Float for adjusting contrast (default: 0.8916).brightness: Float for adjusting brightness (default: 0.8172).vibrancy: Float for adjusting vibrancy (default: 0.1696).vibrancy_darkness: Float for adjusting vibrancy darkness (default: 0.0).reloadTime: Integer specifying how often to check for file changes (default: -1).reloadCommand: A string command to execute when reloading the background.transform: An enum/type defining the transformation applied to the asset.