diff --git a/host_vars/irantu.grote.lan.yml b/host_vars/irantu.grote.lan.yml index 63c38b19..72caf605 100644 --- a/host_vars/irantu.grote.lan.yml +++ b/host_vars/irantu.grote.lan.yml @@ -25,3 +25,6 @@ - smartmontools - lm-sensors - ethtool + - nextcloud-desktop + - gnome-tweaks + - powertop diff --git a/playbooks/3_service/laptop.yml b/playbooks/3_service/laptop.yml index cc394fa5..b0187838 100644 --- a/playbooks/3_service/laptop.yml +++ b/playbooks/3_service/laptop.yml @@ -3,3 +3,4 @@ roles: - { role: mgrote.i3, tags: "i3", become: true } - { role: mgrote.polybar, tags: "polybar", become: true } + - { role: mgrote.deactivate_caps, tags: "caps", become: true } diff --git a/roles/mgrote.deactivate_caps/handlers/main.yml b/roles/mgrote.deactivate_caps/handlers/main.yml new file mode 100644 index 00000000..45c84358 --- /dev/null +++ b/roles/mgrote.deactivate_caps/handlers/main.yml @@ -0,0 +1,4 @@ +--- + - name: deactivate caps + become: true + ansible.builtin.shell: setxkbmap -option caps:none diff --git a/roles/mgrote.deactivate_caps/readme.md b/roles/mgrote.deactivate_caps/readme.md new file mode 100644 index 00000000..57fb3e0f --- /dev/null +++ b/roles/mgrote.deactivate_caps/readme.md @@ -0,0 +1,4 @@ +## mgrote.deactivate_caps + +### Beschreibung +deaktiviert bei einem x11-desktop caps-lock. diff --git a/roles/mgrote.deactivate_caps/tasks/main.yml b/roles/mgrote.deactivate_caps/tasks/main.yml new file mode 100644 index 00000000..0debb058 --- /dev/null +++ b/roles/mgrote.deactivate_caps/tasks/main.yml @@ -0,0 +1,8 @@ +--- + - name: install packages + become: yes + ansible.builtin.package: + name: + - x11-xkb-utils + state: present + notify: deactivate caps