New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add client move global by direction #2437
Comments
Here you go
|
i think it could be done as |
In that case it would be If you implement a trivial swap by direction and the next client is floating and the origin isn't, you only have bad choice. Either you blindly swap them and it doesn't work. Either you make the target tiled and the origin floating, in which case you probably made your calculator or popup tiled by accident or you do nothing and it's confusing. It's better to keep separate logic for floating and tiled clients when it comes to swapping. So a global method on the client isn't gonna work. |
but move_to_screen is not swap, move means what the client just goes away from this screen to some other |
Ah, yeah, we could have that one. I always wanted to add move iterators and navigation methods to the screens to handle geometric navigation and iteration (from left to right, right to left, top to bottom, bottom to top) but I never did. |
but such kind of code should already reside in |
It is in |
I think |
Any updates on this? Just spent half an hour to implement this behaviour in my crappy lua:-
|
Similar to how
awful.client.focus.global_bydirection
andawful.client.swap.global_bydirection
work except for moving a client in a given direction. This would be nice to have if possible! Thanks.The text was updated successfully, but these errors were encountered: