Closed Swivelgames closed 2 years ago
You can use the following plugins.
keypress:
property while pressing with modifier keyssendkey:
property for low-latency key event emulationFollowing configuration is an example of changing behavior while modifier keys are pressed inGnome 42 on X11
4:
left:
sendkey: LEFTMETA+PAGEDOWN # move to next workspace
keypress:
LEFTSHIFT:
sendkey: LEFTSHIFT+LEFTMETA+PAGEDOWN # move window to next workspace
right:
sendkey: LEFTMETA+PAGEUP # move to prev workspace
keypress:
LEFTSHIFT:
sendkey: LEFTSHIFT+LEFTMETA+PAGEUP # move window to prev workspace
up:
sendkey: LEFTMETA+S
down:
sendkey: LEFTMETA+S
Awesome! Thank you! I suppose I could've done a bit more digging to find those haha.
Describe the solution you'd like It would be a game-changer to be able to combine gestures with modifier keys.
For instance, a function may be different depending on whether or not I'm holding down Ctrl, Alt, Super, Shift, or a combination of either of them.
I use i3 quite a bit, and my config is setup in a way where combinations of modifiers increase the significance of the action.
Navigating:
Moving:
Being able to use
Swipe: 3: Left
andSwipe: 3: Right
instead of the left and right arrow keys would be awesome.Side Story I got this idea from a setup I have on my MacBook using BTT (BetterTouchTool). If I'm hovering over a window while holding Ctrl+Opt and I move my mouse, it will move the window under my cursor. Holding Ctrl+Opt+Cmd will resize the window instead. Paired with BTT's Window Snapping, it makes it super easy to Ctrl+Opt move a window to the top of the screen to maximize it. Pretty cool :)