have you tried the screen_change hook.
This works for me ;)
@hook.subscribe.screen_change
def restart_on_screen_change(qtile, ev):
qtile.cmd_restart()
On 01/03/17 11:00, Fabien Meghazi wrote:
> Hi there,
>
> Is it possible to bind a function in the config when the desktop
> changes resolution ?
>
> Eg: when passing from 1024x768 to 3444x1440 I'd like to have the hand
> in order to reload the config and/or change the layout.
>
>
> --
> Fabien Meghazi
> http://www.amigrave.com
> --
> You received this message because you are subscribed to the Google
> Groups "qtile-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.