# ~/.config/systemd/user/typing-touchpad-lock.service
# Runs the script with Toshy's Python, which already has python-evdev.
[Unit]
Description=Lock the touchpad while typing until it is physically clicked
After=graphical-session.target
PartOf=graphical-session.target

[Service]
ExecStart=%h/.config/toshy/.venv/bin/python3 %h/.local/bin/typing-touchpad-lock.py
Restart=on-failure
RestartSec=2

[Install]
WantedBy=graphical-session.target
