quicktile icon indicating copy to clipboard operation
quicktile copied to clipboard

Option to move window to screen where mouse cursor is

Open whme opened this issue 3 months ago • 1 comments

When I moved from Mac to Linux I had to find an alternative for divvy and found it in quicktile. One feature that I am missing however is an option to tell quicktile that commands like fullscreen or left, right, top, bottom, etc. should move the window to the display my mouse cursor is currently on.

I can provide a pull request if you feel like this would be a useful feature.

whme avatar Nov 04 '25 18:11 whme

I'd be open to a monitor-* command to move the window to the monitor that currently contains the mouse cursor. (Maybe monitor-with-mouse)

Once you've got that, you should be able to use the D-Bus API and your desktop's built-in global hotkey support to script multiple commands into a single key combination. (As mentioned in the docs, the "run one command and exit" scripting interface has a known bug I haven't tracked down where it doesn't properly wait for the window to move before returning.)

For the internal keybinder, I'd want to implement command combining once as a global feature.

Once I've got the reworking for 0.5.0 done, maybe I could add some kind of [macros] section to the config file which would allow users to define new commands as sequences of existing ones, which would then appear in the drop-downs in the keybinding GUI I'm working on.

ssokolow avatar Nov 04 '25 20:11 ssokolow