diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-02-16 16:28:53 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-02-16 16:28:53 +0100 |
| commit | c3bb987272091e1993227f3a19a1bc515476ebf0 (patch) | |
| tree | efa5caeaa81a0bf0855efc9cfc3a9c7628735566 /roles/waybar/tasks | |
| parent | 9f13fc942ecc910528d37a0e387b1b17b55ce320 (diff) | |
Fix waybar capslock issue by providing the kbd dev path
Diffstat (limited to 'roles/waybar/tasks')
| -rw-r--r-- | roles/waybar/tasks/main.yml | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/roles/waybar/tasks/main.yml b/roles/waybar/tasks/main.yml index 3e849130..47f026be 100644 --- a/roles/waybar/tasks/main.yml +++ b/roles/waybar/tasks/main.yml @@ -2,11 +2,16 @@ - name: "Ensure waybar packages are installed" become: true ansible.builtin.package: - name: - - "{{ item }}" + name: "waybar" state: "present" - loop: - - "waybar" + +# This is requried for the keyboard-stats module to work +- name: "Ensure USER is added to input group" + become: true + ansible.builtin.user: + name: "{{ username }}" + groups: "input" + append: true - name: "Ensure waybar configuration directory exists" become: true @@ -43,11 +48,3 @@ dest: "/etc/xdg/waybar/scripts/toggle-wifi" - src: "waybar/scripts/launch-tui" dest: "/etc/xdg/waybar/scripts/launch-tui" - -# This is requried for the keyboard-stats module to work -- name: "Ensure USER is added to input group" - become: true - ansible.builtin.user: - name: "{{ username }}" - groups: "input" - append: true |
