I am using awesomewm and have two monitors, so Mod4+j and Mod4+k cycle through windows on current screen only. Is there a way to cycle through all windows/clients on all screens to make it work like ordinary Alt+Tab?
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
|
||||
|
|
|
I'm not sure when this capability was added, but I believe you're looking for client.focus.global_bydirection (dir, c) Focus a client by the given direction. Moves across screens. Parameters:
|
|||
|
|
|
After poking around awful module docs i found a solution. It is hacky, but it works as I wanted it to work.
This function cycles through clients on current screen, marking them and when they all are marked, jumps to the next screen. Here is what happens step by step:
It is funny because i do not know what "marked" means. Marked clients do not seem to differ from not marked clients visually or by behaviour. It is strange that i had to write a 10 line function to get something as trivial as multiscreen alt-tab. I might have done something excessive) |
|||||
|