libinput-gestures is a Linux input event daemon and touchpad gesture mapper that translates libinput events into shell commands or keyboard shortcuts. It functions as a background process that monitors raw input signals to automate workflows and execute system actions based on a user-defined configuration file.
The tool allows for the mapping of multi-finger swipes and hold gestures to specific terminal commands or desktop workspace navigation. It differentiates between actions by filtering for finger counts, swipe directions, and the duration of hold gestures.
The system integrates with systemd for service lifecycle management, enabling the daemon to start automatically within graphical sessions. It handles the execution of custom scripts and system commands by spawning child processes in response to detected input patterns.