Skip to content

Commit

Permalink
Make sure we won't break configs
Browse files Browse the repository at this point in the history
  • Loading branch information
ramnes committed Nov 5, 2023
1 parent 4a2c9d6 commit 2e89b75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libqtile/core/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,11 +411,11 @@ def _process_screens(self, reloading: bool = False) -> None:
self.screens = screens

@expose_command()
def reconfigure_screens(self, **_: dict[Any, Any]) -> None:
def reconfigure_screens(self, *_: list[Any], **__: dict[Any, Any]) -> None:
"""
This can be used to set up screens again during run time. Intended usage is to
be called when the screen_change hook is fired, responding to changes in
physical monitor setup by configuring qtile.screens accordingly. The kwargs are
physical monitor setup by configuring qtile.screens accordingly. The args are
ignored; it is here in case this function is hooked directly to screen_change.
"""
logger.info("Reconfiguring screens.")
Expand Down

0 comments on commit 2e89b75

Please sign in to comment.