You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That could add several function to the same button.
As an example, I have a mouse with 2 additional buttons (back and forward) that are map to "switch previous / next workspace". I'd love to map long press on these to "move current window to previous / next workspace".
The text was updated successfully, but these errors were encountered:
If I understand your request and the way the "if-tap" macro functions:
Program the mouse key to the normal function of that key in the first section of the macro.
Program the key combination that moves a window to another desktop into the second section of the macro. On Linux Mint, for example, that key combo is "shift+control+alt + right arrow".
To automatically return to the desktop you just left, you could put a delay after that and then the key combination "control+alt + left arrow".
This should have the effect of, when long-pressing the button longer than the delay time, taking the active window to the next workspace and then returning you to the previous workspace.
If you are wanting to only SEND the window to another workspace without leaving the one you are on, then these couple of pages might help. One of them looks like it would work best to set up a key combination to move the window to a keyboard key, then bind the mouse button to that keyboard key.
EDIT: Also, this code binds my 'O' key to output an O if held down for less than 250ms, otherwise it outputs a "6". Maybe you can use this as a starting point if you get the key combination figured out.
code = if_single(key(KEY_O), key(KEY_6), 250)
That could add several function to the same button.
As an example, I have a mouse with 2 additional buttons (back and forward) that are map to "switch previous / next workspace". I'd love to map long press on these to "move current window to previous / next workspace".
The text was updated successfully, but these errors were encountered: