mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 10:25:39 +00:00
Existing users who use xmodmap to rebind caps lock as control in X will probably want to disable xmodmap first.
20 lines
539 B
YAML
20 lines
539 B
YAML
---
|
|
- name: Install caps2esc
|
|
pacman:
|
|
name: interception-caps2esc
|
|
state: present
|
|
|
|
- name: Push caps2esc udevmon config
|
|
template:
|
|
src: caps2esc.yaml.j2
|
|
dest: /etc/interception/udevmon.d/caps2esc.yaml
|
|
notify:
|
|
- restart udevmon
|
|
when: interception.caps2esc.enabled is defined and interception.caps2esc.enabled == True
|
|
|
|
- name: Enable and start udevmon
|
|
service:
|
|
name: udevmon.service
|
|
enabled: yes
|
|
state: started
|
|
when: interception.caps2esc.enabled is defined and interception.caps2esc.enabled == True
|