Skip to content

Commit

Permalink
Small update
Browse files Browse the repository at this point in the history
 - Little optimizations in config reloading
 - Deleted pop-up that shows every time you un/re/plugging charger, it just does it's job
  • Loading branch information
Mefgner committed Oct 16, 2024
1 parent e4cd7a9 commit 1d913e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def cur_monitor_specs() -> Dict[AnyStr, Dict[AnyStr, SupportsInt]]:
return params


async def load_config() -> Optional[Tuple[ScreenSettings, ScreenSettings], None]:
async def load_config() -> Optional[Tuple[ScreenSettings, ScreenSettings]]:
logging.debug(f"Loading config from {PATH_TO_PROGRAM / 'config.json'}")

update_time = os.path.getmtime(PATH_TO_PROGRAM / 'config.json')
Expand Down

0 comments on commit 1d913e8

Please sign in to comment.