From 674a4eab56c8c239497f99a7aab3b02cbfbf7408 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 11 Jul 2021 20:47:22 +0200 Subject: [PATCH] i3-companion: run black with max line length to 79 --- bin/i3-companion | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/bin/i3-companion b/bin/i3-companion index dab3822..6e67be2 100755 --- a/bin/i3-companion +++ b/bin/i3-companion @@ -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()