Skip to content

Instantly share code, notes, and snippets.

@ahkohd
ahkohd / disable-chromium-two-fingers-swipe-navigation-explained.bash
Last active August 10, 2023 07:15
Code snippet to disable two-finger swipe gesture for next/previous page navigation for Chromium based browsers on macOS.
# Set your app name - the Chromium Browser (i.e Chrome, Brave) in a variable.
appName="Brave"
# Get the bundle Id of the Chromium Browser, store it in a variable.
bundleID=$(osascript -e 'id of app "'$appName'"')
# Example: Get the bundle Id of Brave browser
# Returns:
# com.brave.Browser