Run script right after suspend login

Hi there,
so I'm having some trouble setting up my laptop. Up front: I'm not running manjaro on it but I imagine my question would apply to manjaro as well.
I was searching for a way to run a small shell script after I log-in from suspend. The script itself is a one liner. Basically restarting the software I use for Multitouch gestures.

Libinput-gesture-setup restart

So what I found was to create an executable file in /lib/systemd/system-sleep .

Problem is that this is being run to early for my needs. Libinput-gesture seems to load only after I "logged in" again. I need the script to load after that point.

Do you know a way to enable that? Thanks very much

Search the forum for systemd suspend unit.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by