surface-snippets/touchegg.conf

99 lines
3.1 KiB
Plaintext

<touchégg>
<settings>
<property name="animation_delay">150</property>
<property name="action_execute_threshold">20</property>
<property name="color">auto</property>
<property name="borderColor">auto</property>
</settings>
<application name="All">
<gesture type="SWIPE" fingers="3" direction="UP">
<action type="MAXIMIZE_RESTORE_WINDOW">
<animate>true</animate>
</action>
</gesture>
<gesture type="SWIPE" fingers="3" direction="DOWN">
<action type="MINIMIZE_WINDOW">
<animate>true</animate>
</action>
</gesture>
<gesture type="SWIPE" fingers="3" direction="LEFT">
<action type="TILE_WINDOW">
<direction>left</direction>
<animate>true</animate>
</action>
</gesture>
<gesture type="SWIPE" fingers="3" direction="RIGHT">
<action type="TILE_WINDOW">
<direction>right</direction>
<animate>true</animate>
</action>
</gesture>
<gesture type="PINCH" fingers="3" direction="IN">
<action type="CLOSE_WINDOW">
<animate>true</animate>
<color>F84A53</color>
<borderColor>F84A53</borderColor>
</action>
</gesture>
<gesture type="SWIPE" fingers="4" direction="UP">
<action type="CHANGE_DESKTOP">
<direction>auto</direction>
<animate>true</animate>
<animationPosition>auto</animationPosition>
</action>
</gesture>
<gesture type="SWIPE" fingers="4" direction="DOWN">
<action type="CHANGE_DESKTOP">
<direction>auto</direction>
<animate>true</animate>
<animationPosition>auto</animationPosition>
</action>
</gesture>
<gesture type="PINCH" fingers="4" direction="OUT">
<action type="SHOW_DESKTOP">
<animate>true</animate>
</action>
</gesture>
<gesture type="TAP" fingers="2" direction="UNKNOWN">
<action type="MOUSE_CLICK">
<button>3</button>
<on>begin</on>
</action>
</gesture>
<gesture type="TAP" fingers="3" direction="UNKNOWN">
<action type="MOUSE_CLICK">
<button>2</button>
<on>begin</on>
</action>
</gesture>
<gesture type="PINCH" fingers="4" direction="IN">
<action type="SEND_KEYS">
<modifiers>Control_L</modifiers>
<keys>F10</keys>
<repeat>false</repeat>
<on>begin</on>
</action>
</gesture>
<gesture type="TAP" fingers="4" direction="UNKNOWN">
<action type="RUN_COMMAND">
<command>onboard</command>
<repeat>false</repeat>
<on>begin</on>
</action>
</gesture>
<gesture type="SWIPE" fingers="2" direction="DOWN">
<action type="RUN_COMMAND">
<repeat>true</repeat>
<command>xdotool click 4</command>
<decreaseCommand>xdotool click 5</decreaseCommand>
</action>
</gesture>
<gesture type="SWIPE" fingers="2" direction="UP">
<action type="RUN_COMMAND">
<repeat>true</repeat>
<command>xdotool click 5</command>
<decreaseCommand>xdotool click 4</decreaseCommand>
</action>
</gesture>
</application>
</touchégg>