hooks outside of qtile config? moving between 8000 windows across screens? keycodes on wayland? #5156
-
Hi,
Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 24 replies
-
Can you give an example of what you're trying to do? Do you want to use a qtile hook to run an external command? Or are you using an external event to trigger something in qtile?
You probably want this: https://github.com/qtile/qtile-examples/blob/master/traverse.py
Keycodes should be the answer so you'll need to provide more information other than "that didn't resolve the issue".
You probably need a hook. Check which window is focused and then set the layout accordingly. |
Beta Was this translation helpful? Give feedback.
-
Should I open an issue for the keycodes problem? |
Beta Was this translation helpful? Give feedback.
Well, if you made a custom keybinding to change the layout then you could keep record of the window and the keyboard layout. Then, when you change window, you can look up the last used layout for that window.