diff options
Diffstat (limited to '.config/systemd/user/kanata.service')
| -rw-r--r-- | .config/systemd/user/kanata.service | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.config/systemd/user/kanata.service b/.config/systemd/user/kanata.service new file mode 100644 index 0000000..771cfed --- /dev/null +++ b/.config/systemd/user/kanata.service @@ -0,0 +1,22 @@ +[Unit] +Description=Kanata keyboard remapper +Documentation=https://github.com/jtroo/kanata + +[Service] +Environment=PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/bin +# Uncomment the 4 lines beneath this to increase process priority +# of Kanata in case you encounter lagginess when resource constrained. +# WARNING: doing so will require the service to run as an elevated user such as root. +# Implementing least privilege access is an exercise left to the reader. +# +# CPUSchedulingPolicy=rr +# CPUSchedulingPriority=99 +# IOSchedulingClass=realtime +# Nice=-20 +Type=simple +ExecStart=/usr/local/bin/kanata --cfg /home/venomade/.config/kanata/config.kbd +Restart=on-failure +RestartSec=3 + +[Install] +WantedBy=default.target |
