removing the remnants of getting mpv to tile

This commit is contained in:
2026-02-24 21:44:43 +01:00
parent 54d01ddad3
commit 3fc747d4a7

View File

@@ -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