Skip to content

Instantly share code, notes, and snippets.

@mubaidr
Last active October 10, 2024 19:16
Show Gist options
  • Save mubaidr/cdb9662ebe7f8d0a2a8f0e6d3eac1faa to your computer and use it in GitHub Desktop.
Save mubaidr/cdb9662ebe7f8d0a2a8f0e6d3eac1faa to your computer and use it in GitHub Desktop.
Fusuma config to match kde behavior with macos: ~/.config/fusuma/config.yml
swipe:
4:
right:
sendkey: 'LEFTALT+RIGHT' # History forward
left:
sendkey: 'LEFTALT+LEFT' # History back
up:
sendkey: 'LEFTCTRL+t' # Open new tab
keypress:
LEFTSHIFT:
sendkey: 'LEFTCTRL+LEFTSHIFT+t' # Open last closed tab
down:
sendkey: 'LEFTCTRL+w' # Close tab
3:
left:
workspace: 'next' # Switch to next workspace
keypress:
LEFTSHIFT:
window: 'next' # Move window to next workspace
LEFTMETA:
sendkey: 'LEFTMETA+LEFTCTRL+LEFT' # Move window to left side
right:
workspace: 'prev' # Switch to previous workspace
keypress:
LEFTSHIFT:
window: 'prev' # Move window to previous workspace
LEFTMETA:
sendkey: 'LEFTMETA+LEFTCTRL+RIGHT' # Move window to right side
up:
sendkey: 'LEFTMETA+w' # Workspace overview
keypress:
LEFTMETA:
window:
maximized: 'toggle' # Toggle Maximize/Unmaximize Window
down:
sendkey: 'LEFTCTRL+F12' # Minimize all windows
keypress:
LEFTMETA:
window: 'close' # Close window
pinch:
2:
in:
sendkey: 'LEFTCTRL+Click+4' # Zoom in
out:
sendkey: 'LEFTCTRL+Click+5' # Zoom out
4:
in:
sendkey: 'LEFTMETA+w' # Window overview
out:
sendkey: 'LEFTMETA+w' # Workspace overview
threshold:
swipe: 0.5
pinch: 0.5
interval:
swipe: 0.5
pinch: 0.5
plugin:
inputs:
libinput_command_input: # options for lib/plugin/inputs/libinput_command_input
enable-tap: true # click to tap
enable-dwt: true # disable tap while typing
show-keycodes: true # show keycodes while configuring gestures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment