mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-01 22:04:20 +02:00
i3-companion: run black with max line length to 79
This commit is contained in:
parent
812ce97360
commit
674a4eab56
1 changed files with 11 additions and 3 deletions
|
@ -139,7 +139,9 @@ async def new_workspace(i3, event):
|
|||
|
||||
# Move the window to this workspace
|
||||
if event == "move-to-new-workspace":
|
||||
await current.command(f"move container to workspace " f'number "{num}"')
|
||||
await current.command(
|
||||
f"move container to workspace " f'number "{num}"'
|
||||
)
|
||||
|
||||
|
||||
exclusive_apps = {"emacs", "firefox"}
|
||||
|
@ -363,7 +365,9 @@ async def output_update(i3, event):
|
|||
logger.warning(f"{cmd} exited with {proc.returncode}")
|
||||
|
||||
logger.debug("schedule XRandR change")
|
||||
output_update.running = asyncio.get_event_loop().call_later(2, output_update_now)
|
||||
output_update.running = asyncio.get_event_loop().call_later(
|
||||
2, output_update_now
|
||||
)
|
||||
|
||||
|
||||
async def main(options):
|
||||
|
@ -407,7 +411,11 @@ if __name__ == "__main__":
|
|||
description += f" {fn.__doc__}"
|
||||
parser = argparse.ArgumentParser(description=description)
|
||||
parser.add_argument(
|
||||
"--debug", "-d", action="store_true", default=False, help="enable debugging"
|
||||
"--debug",
|
||||
"-d",
|
||||
action="store_true",
|
||||
default=False,
|
||||
help="enable debugging",
|
||||
)
|
||||
options = parser.parse_args()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue