Add service and script to manage "mousespam"
This commit is contained in:
5
autostart/services/mousespam.service
Normal file
5
autostart/services/mousespam.service
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
ExecStart=%h/bin/mousespam
|
||||||
|
RemainAfterExit=True
|
||||||
|
PassEnvironment=DISPLAY
|
||||||
2
bin/mousespam-toggle
Executable file
2
bin/mousespam-toggle
Executable file
@@ -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
|
||||||
Reference in New Issue
Block a user