diff --git a/autostart/services/mousespam.service b/autostart/services/mousespam.service new file mode 100644 index 0000000..3f5deea --- /dev/null +++ b/autostart/services/mousespam.service @@ -0,0 +1,5 @@ +[Service] +Type=simple +ExecStart=%h/bin/mousespam +RemainAfterExit=True +PassEnvironment=DISPLAY diff --git a/bin/mousespam-toggle b/bin/mousespam-toggle new file mode 100755 index 0000000..5cdc0f1 --- /dev/null +++ b/bin/mousespam-toggle @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +systemctl --no-pager --user status mousespam && systemctl --no-pager --user stop mousespam || systemctl --no-pager --user start mousespam