"""monitoring.py-------------This module provides a class to manage monitoring settings for Qtile.Classes: AppSettingsMonitoring: Manages monitoring settings including colors and thresholds."""
[docs]classAppSettingsMonitoring:default_color:str=""high_color:str=""medium_color:str=""threshold_medium:int=75threshold_high:int=90burn:bool=Falsedef__init__(self,**kwargs):""" Initializes the AppSettingsMonitoring with optional keyword arguments. Args: **kwargs: Arbitrary keyword arguments to initialize the monitoring settings. """self.default_color=kwargs.get("default_color",self.default_color)self.high_color=kwargs.get("high_color",self.high_color)self.medium_color=kwargs.get("medium_color",self.medium_color)self.threshold_medium=kwargs.get("threshold_medium",self.threshold_medium)self.threshold_high=kwargs.get("threshold_high",self.threshold_high)self.burn=kwargs.get("burn","no")=="yes"