This is a super quick note on how to reactivate touchpad gestures in Archlinux distributions after hibernation if you use libinput-gestures.
Open you editor, add the following content:
[Unit]
Description=Restart gestures
After=suspend.target
After=hibernate.target
After=hybrid-sleep.target
[Service]
ExecStart=/usr/bin/su --command '/usr/bin/libinput-gestures-setup restart' USERNAME
[Install]
WantedBy=suspend.target
WantedBy=hibernate.target
WantedBy=hybrid-sleep.target
Save it as /etc/systemd/system/start_gestures
, then run sudo systemctl enable start_gestures.service
and finally sudo systemctl start start_gestures.service
.
After the above, the gestures should be working and will continue to even after hibernation.