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.

Revisions

  1. josemarcosrf revised this gist Dec 31, 2024. No changes.
  2. josemarcosrf created this gist Dec 31, 2024.
    58 changes: 58 additions & 0 deletions config.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,58 @@
    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