summarylogtreecommitdiffstats
path: root/syngestures.toml
blob: 6ee89ae7a8b262e3cf49e60e112405b7b302006a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Syngestures configuration file, version 1

# This file should be placed in any of the following paths.
# * $PREFIX/syngestures.toml (for global configuration)
# * $PREFIX/syngestures.d/*.toml (for global configuration, separate file per device)
# * $XDG_CONFIG_HOME/syngestures.toml (for per-user configuration)
# * $XDG_CONFIG_HOME/syngestures.d/*.toml (for per-user configuration, separate file per device)
#
# If $XDG_CONFIG_HOME is not set, $HOME/.config/ is used in its place.

[[device]]
device = "/dev/input/by-path/pci-0000:00:17.0-platform-i2c_designware.4-event-mouse"
gestures = [
	# Emulate right-click. Don't use this if two-finger tap to right-click already works
	# { type = "tap", fingers = 2, execute = "xdotool click 3" },

	# Emulate middle-click. Don't use this if three-finger tap to middle-click already works
	# { type = "tap", fingers = 3, execute = "xdotool click 2" },

	# Previous desktop/workspace
	{ type = "swipe", direction = "right", fingers = 3, execute = "syngestures-switch-ws prev" },

	# Next desktop/workspace
	{ type = "swipe", direction = "left", fingers = 3, execute = "syngestures-switch-ws next" },

	# Enter/leave multi-tasking view
	{ type = "swipe", direction = "up", fingers = 3, execute = "xdotool key Super_L" },

	# Show desktop
	{ type = "swipe", direction = "down", fingers = 3, execute = "xdotool key Super_L+d" },
]