feat(disable caps by systemd)
This commit is contained in:
parent
e89375cf15
commit
d35ecd5505
10
etc/systemd/system/disable-caps.service
Normal file
10
etc/systemd/system/disable-caps.service
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Disable capslock
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=sh -c "dumpkeys | sed s/Caps_Lock/Control/ | loadkeys"
|
||||||
|
Type=oneshot
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
After=multi-user.target
|
||||||
Loading…
x
Reference in New Issue
Block a user