Skip to content

LiAlH4qwq/touchpadctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

touchpadctl

A little utility which controls touchpad of laptops.

Have you been annoyed by the flying cursor while typing when accidentally hit the touchpad? If so, try it.

Supporting

  • Gnome Wayland (by gsettings)
  • Gnome X11 (by gsettings, untested)
  • KDE
  • Hyprland
  • ...

Requirements

Installation

git clone https://github.com/lialh4qwq/touchpadctl.git
cd touchpadctl
sudo mv touchpadctl.fish /usr/local/bin/touchpadctl
sudo chown root:root /usr/local/bin/touchpadctl
sudo chmod 0755 /usr/local/bin/touchpadctl

Usage

simply run in shell

touchpadctl <toggle|enable|disable>

or bind it to a shortcut by your DE's settings. for example

gnome:

Settings โ†’ Keyboard โ†’ View and Custom Shortcuts โ†’ Custom shortcuts โ†’ "+"

or anyhow you like

Enjoy!

Todo

  • Support more DE/WM like KDE, Hyprland, etc.
  • Support disable touchpad by xinput to work in generic X11 environments
  • More complete and user-friendly CLI interface, supporting operating in specific method
  • Config file support that defining default behavior
  • Daemon mode for DE/WM that can't handle shortcuts

๐Ÿ•Š๏ธ๐Ÿ•Š๏ธ๐Ÿ•Š๏ธ

About

A little utility which controls touchpad of laptops.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages