Created
November 26, 2018 09:18
-
-
Save ponimas/89c3d6b3255f63d48c21889fb85a9243 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=xkeysnail | |
| [Service] | |
| Environment="DISPLAY=:0" "PYTHONPATH=/home/ponimas/.local/lib/python3.6/site-packages/" | |
| ExecStartPre=/usr/bin/sudo -u ponimas /usr/bin/xhost +SI:localuser:root | |
| Type=simple | |
| ExecStart=/home/ponimas/.local/bin/xkeysnail --watch /home/ponimas/.config/xkeysnail.py | |
| ExecStop=/bin/kill -TERM $MAINPID | |
| Restart=always | |
| RestartSec=1 | |
| [Install] | |
| WantedBy=graphical.target | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment