Skip to content

Instantly share code, notes, and snippets.

@cassidyjames
Last active November 2, 2020 20:50
Show Gist options
  • Select an option

  • Save cassidyjames/85ff4079572bc07c74dd8a5770972733 to your computer and use it in GitHub Desktop.

Select an option

Save cassidyjames/85ff4079572bc07c74dd8a5770972733 to your computer and use it in GitHub Desktop.
A touchégg config I am trying out for elementary OS and big trackpads
<touchégg>
<settings>
<property name="animation_delay">150</property>
<property name="action_execute_threshold">20</property>
<property name="color">909090</property>
<property name="borderColor">FFFFFF</property>
</settings>
<application name="All">
<gesture type="SWIPE" fingers="3" direction="LEFT">
<action type="CHANGE_DESKTOP">
<direction>next</direction>
<animate>true</animate>
<animationPosition>right</animationPosition>
</action>
</gesture>
<gesture type="SWIPE" fingers="3" direction="RIGHT">
<action type="CHANGE_DESKTOP">
<direction>previous</direction>
<animate>true</animate>
<animationPosition>left</animationPosition>
</action>
</gesture>
<gesture type="SWIPE" fingers="3" direction="UP">
<action type="RUN_COMMAND">
<repeat>false</repeat>
<command>dbus-send --session --dest=org.pantheon.gala --print-reply /org/pantheon/gala org.pantheon.gala.PerformAction int32:1</command>
<on>begin</on>
</action>
</gesture>
<gesture type="SWIPE" fingers="3" direction="DOWN">
<action type="RUN_COMMAND">
<repeat>false</repeat>
<command>dbus-send --session --dest=org.pantheon.gala --print-reply /org/pantheon/gala org.pantheon.gala.PerformAction int32:1</command>
<on>begin</on>
</action>
</gesture>
</application>
</touchégg>
@cassidyjames
Copy link
Copy Markdown
Author

See @JoseExposito/touchegg for more info.

@cassidyjames
Copy link
Copy Markdown
Author

Simplified to just operate on 3-finger swipes for workspace-related things. Ignoring 4-finger actions and tiling for now to see if this feels right as a first step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment