Compare commits
1 Commits
54d01ddad3
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 3fc747d4a7 |
25
hooks.py
25
hooks.py
@@ -45,28 +45,3 @@ def force_fullscreen(client) -> None:
|
|||||||
|
|
||||||
if any(client.match(rule) for rule in FULLSCREEN_RULES):
|
if any(client.match(rule) for rule in FULLSCREEN_RULES):
|
||||||
client.fullscreen = True
|
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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user