Set window class to be maximized

25 views
Skip to first unread message

Vincent Girès

unread,
Mar 14, 2022, 5:19:09 AM3/14/22
to qtile-dev
Hello,
I'm trying to set some applications to be maximized, and the only way i found to de that is not working as expected:

@hook.subscribe.client_new
def new_client(client):
    if 'gitk' in client.window.get_wm_class():
        client.maximized = True

This is working only when in restart my qtile (lazy.restart()). Is there a way to have it directly applied on each new windows?
Reply all
Reply to author
Forward
0 new messages