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