From 3fc747d4a74b61d9e9cf187e09320cb9248edc3a Mon Sep 17 00:00:00 2001 From: cerberus Date: Tue, 24 Feb 2026 21:44:43 +0100 Subject: [PATCH] removing the remnants of getting mpv to tile --- hooks.py | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/hooks.py b/hooks.py index c849ee5..18201b8 100644 --- a/hooks.py +++ b/hooks.py @@ -45,28 +45,3 @@ def force_fullscreen(client) -> None: if any(client.match(rule) for rule in FULLSCREEN_RULES): client.fullscreen = True - - -@hook.subscribe.client_new -def tile_mpv(client): - if client.name == "mpv" or "mpvk": - client.floating = False - - -# @hook.subscribe.client_new -# def tile_mpv(client): -# # wm_class gibt oft eine liste zurück, z.b. ['mpv', 'mpv'] -# if "mpv" in client.get_wm_class(): -# client.floating = false - - -# @hook.subscribe.client_new -# def tile_mpv(client): -# if client.name == "mpv": -# # Wartet 0.1 Sekunden, bevor das Floating deaktiviert wird -# asyncio.create_task(set_tile(client)) -# -# -# async def set_tile(client): -# await asyncio.sleep(0.1) -# client.floating = False