def change_font_size(self, size: float):
    if (size <= 0):
        raise ConfigError('Font size cannot be negative or zero')
    if ('font' not in self.config):
        self.config['font'] = {}
        log.warn('"font" prop config was not present in alacritty.yml')
    self.config['font']['size'] = size
    log.ok(f'Font size set to {size:.1f}')
def change_font_size(self, size: float):
    if (size <= 0):
        raise ConfigError('Font size cannot be negative or zero')
    if ('font' not in self.config):
        self.config['font'] = {}
        log.warn('"font" prop config was not present in alacritty.yml')
    self.config['font']['size'] = size
    log.ok(f'Font size set to {size:.1f}')