Skip to content

Instantly share code, notes, and snippets.

@josemarcosrf
Last active December 31, 2024 10:29
Show Gist options
  • Save josemarcosrf/61fa8674fcccaf0f815ff82685d69fbe to your computer and use it in GitHub Desktop.
Save josemarcosrf/61fa8674fcccaf0f815ff82685d69fbe to your computer and use it in GitHub Desktop.
Fusuma (https://github.com/iberianpig/fusuma) configuration file (.config/fusuma/config.yml) using fusuma-sendkey instead of xdotool to work on Wayland
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: "LEFTCTRL+F10" # Workspace overview
keypress:
LEFTMETA:
window:
maximized: "toggle" # Toggle Maximize/Unmaximize Window
down:
sendkey: "LEFTCTRL+F10" # Minimize all windows
keypress:
LEFTMETA:
window: "close" # Close window
pinch:
2:
in:
sendkey: "LEFTCTRL+CLICK4" # Zoom in
out:
sendkey: "LEFTCTRL+CLICK5" # Zoom out
4:
in:
sendkey: "LEFTMETA+A" # Window overview
out:
sendkey: "LEFTMETA+S" # Workspace overview
plugin:
inputs:
libinput_command_input:
enable-tap: true
enable-dwt: true
show-keycodes: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment