Work with floating windows: move_floating and resize_floating
See original GitHub issueYT link: https://www.youtube.com/watch?v=skT9CZJ7V4Y Old config file: https://github.com/bavardage/qtile/blob/master/examples/config/bavardage-config.py
I tried the block from the config:
for key, x, y in [("Left", -10, 0),
("Right", 10, 0),
("Up", 0, -10),
("Down", 0, 10)]:
keys.append(Key([modkey, "control"], key, lazy.window.move_floating(x, y)))
keys.append(Key([modkey, "shift"], key, lazy.window.resize_floating(x, y)))
keys.append(Key([modkey, "mod1"], key, lazy.window.move_to_screen_edge(key)))
but doesn’t work.
The window.move_to_screen_edge
function doesn’t exists also.
How can I use this pair of functions for this kind of window manipulation with keyboard?
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Floating windows are moving and resizing randomly
When restarting visual studio an well as when starting and stopping the debug mode, most floating windows change their position and size randomly....
Read more >Is it possible to move around floating windows and resize ...
Is it possible to move around floating windows and resize them using the keyboard? : r/qtile.
Read more >floating windows - instantOS
Each window has two modes: Floating and tiling. Tiling is explained here Floating mode allows you to freely move and resize any window....
Read more >Some questions about floating window move and resize #125
At the moment, we neet press Win key before move or resize a window, it it possible to do the job while don't...
Read more >Xmonad: when floating a window, move or resize it
Ideally, upon shifting to the float layer, I'd have them move to the center of the screen and/or resize. The best solution would...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The reason of those empty arguments is because
cmd_set_position
need them, and that this function and the ones you’re trying to use are meant to be called at the same place and thus prepared the same way: https://github.com/qtile/qtile/blob/v0.14.2/libqtile/core/manager.py#L1072I’m about to push a commit that will modify
cmd_set_position
so that we leverage #1305, that made the coordinates of the mouse always available, so that we can remove those useless arguments all around. 👍This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.