Created
December 12, 2021 08:46
-
-
Save vasi/14a51e82a53c804a047690583ca50fca to your computer and use it in GitHub Desktop.
KDE touchegg configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<touchégg> | |
<settings> | |
<!-- | |
Delay, in milliseconds, since the gesture starts before the animation is displayed. | |
Default: 150ms if this property is not set. | |
Example: Use the MAXIMIZE_RESTORE_WINDOW action. You will notice that no animation is | |
displayed if you complete the action quick enough. This property configures that time. | |
--> | |
<property name="animation_delay">150</property> | |
<!-- | |
Percentage of the gesture to be completed to apply the action. Set to 0 to execute actions unconditionally. | |
Default: 20% if this property is not set. | |
Example: Use the MAXIMIZE_RESTORE_WINDOW action. You will notice that, even if the | |
animation is displayed, the action is not executed if you did not move your fingers far | |
enough. This property configures the percentage of the gesture that must be reached to | |
execute the action. | |
--> | |
<property name="action_execute_threshold">10</property> | |
<!-- | |
Global animation colors can be configured to match your system colors using HEX notation: | |
<color>909090</color> | |
<borderColor>FFFFFF</borderColor> | |
You can also use auto: | |
<property name="color">auto</property> | |
<property name="borderColor">auto</property> | |
Notice that you can override an specific animation color. | |
--> | |
<property name="color">auto</property> | |
<property name="borderColor">auto</property> | |
</settings> | |
<!-- | |
Configuration for every application. | |
--> | |
<application name="All"> | |
<gesture type="SWIPE" fingers="4" direction="DOWN"> | |
<action type="SHOW_DESKTOP"> | |
<animate>true</animate> | |
</action> | |
</gesture> | |
<gesture type="SWIPE" fingers="4" direction="RIGHT"> | |
<action type="CHANGE_DESKTOP"> | |
<direction>previous</direction> | |
<animate>true</animate> | |
<animationPosition>left</animationPosition> | |
<color>000000</color> | |
<borderColor>000000</borderColor> | |
</action> | |
</gesture> | |
<gesture type="SWIPE" fingers="4" direction="LEFT"> | |
<action type="CHANGE_DESKTOP"> | |
<direction>next</direction> | |
<animate>true</animate> | |
<animationPosition>right</animationPosition> | |
<color>000000</color> | |
<borderColor>000000</borderColor> | |
</action> | |
</gesture> | |
<gesture type="SWIPE" fingers="4" direction="UP"> | |
<action type="RUN_COMMAND"> | |
<repeat>false</repeat> | |
<command>qdbus org.kde.kglobalaccel /component/kwin invokeShortcut 'ShowDesktopGrid'</command> | |
<on>begin</on> | |
</action> | |
</gesture> | |
<gesture type="SWIPE" fingers="3" direction="UP"> | |
<action type="RUN_COMMAND"> | |
<repeat>false</repeat> | |
<command>qdbus org.kde.kglobalaccel /component/kwin invokeShortcut 'Expose'</command> | |
<on>begin</on> | |
</action> | |
</gesture> | |
</application> | |
</touchégg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment