added everythig
This commit is contained in:
22
kanata/.config/systemd/user/kanata.service
Normal file
22
kanata/.config/systemd/user/kanata.service
Normal file
@@ -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:${HOME}/.local/bin
|
||||
Environment=DISPLAY=:0
|
||||
# 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/bin/sh -c "exec $$(which kanata) --cfg $$HOME/.config/kanata/config.kbd"
|
||||
Restart=no
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user