Created
February 28, 2022 17:49
-
-
Save cornfeedhobo/77b37ba0996927e6a914d6baf5d81a0a to your computer and use it in GitHub Desktop.
Framework Laptop Customizations
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
Section "InputClass" | |
Identifier "Framework Clickpad" | |
MatchProduct "Touchpad" | |
MatchDriver "synaptics" | |
# Enable clicking | |
Option "ClickPad" "true" | |
Option "EmulateMidButtonTime" "0 | |
Option "ClickMethod" "clickfinger" | |
Option "ClickFinger1" "1" | |
Option "ClickFinger2" "3" | |
Option "ClickFinger3" "2" | |
# Disable tapping | |
Option "TapButton1" "0" | |
Option "TapButton2" "0" | |
Option "TapButton3" "0" | |
Option "MaxTapTime" "0" | |
Option "SoftButtonAreas" "0 0 0 0 0 0 0 0" | |
# Prevent Accidental Clicks | |
Option "PalmDetect" "1" | |
Option "PalmMinWidth" "5" | |
Option "PalmMinZ" "40" | |
# Calm the pad down while clicking | |
Option "VertHysteresis" "5" | |
Option "HorizHysteresis" "5" | |
# Natural (reverse) scrolling | |
Option "VertTwoFingerScroll" "1" | |
Option "VertScrollDelta" "-90" | |
Option "HorizTwoFingerScroll" "1" | |
Option "HorizScrollDelta" "-90" | |
# Smooth movement | |
Option "MinSpeed" "1" | |
Option "MaxSpeed" "2" | |
Option "AccelerationProfile" "2" | |
Option "ConstantDeceleration" "4" | |
#Option "PressureMotionMinZ" "15" | |
EndSection |
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> | |
<application name="All"> | |
<gesture type="SWIPE" fingers="4" direction="UP"> | |
<action type="RUN_COMMAND"> | |
<repeat>false</repeat> | |
<command>qdbus-qt5 org.kde.kglobalaccel /component/kwin invokeShortcut 'Expose'</command> | |
<on>begin</on> | |
</action> | |
</gesture> | |
<gesture type="SWIPE" fingers="4" direction="DOWN"> | |
<action type="RUN_COMMAND"> | |
<repeat>false</repeat> | |
<command>qdbus-qt5 org.kde.kglobalaccel /component/kwin invokeShortcut 'ExposeClass'</command> | |
<on>begin</on> | |
</action> | |
</gesture> | |
<gesture type="SWIPE" fingers="4" direction="RIGHT"> | |
<action type="RUN_COMMAND"> | |
<repeat>false</repeat> | |
<command>qdbus-qt5 org.kde.kglobalaccel /component/kwin invokeShortcut 'Switch to Previous Desktop'</command> | |
<on>begin</on> | |
</action> | |
</gesture> | |
<gesture type="SWIPE" fingers="4" direction="LEFT"> | |
<action type="RUN_COMMAND"> | |
<repeat>false</repeat> | |
<command>qdbus-qt5 org.kde.kglobalaccel /component/kwin invokeShortcut 'Switch to Next Desktop'</command> | |
<on>begin</on> | |
</action> | |
</gesture> | |
<gesture type="SWIPE" fingers="3" direction="RIGHT"> | |
<action type="SEND_KEYS"> | |
<repeat>false</repeat> | |
<keys>XF86Back</keys> | |
<on>begin</on> | |
</action> | |
</gesture> | |
<gesture type="SWIPE" fingers="3" direction="LEFT"> | |
<action type="SEND_KEYS"> | |
<repeat>false</repeat> | |
<keys>XF86Forward</keys> | |
<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
@iamef only during scrolling. kde is adding native gesture support through libinput, so I'm just waiting it out.