From 85afd2569798c2bfc94db727203b570724caaa0b Mon Sep 17 00:00:00 2001 From: Hyperling Date: Tue, 11 Aug 2026 11:51:54 -0700 Subject: [PATCH] i3, fix the duplicate name fields. --- tasks/workstation/shared/software/i3.yml | 28 ++++++++++++------------ 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/tasks/workstation/shared/software/i3.yml b/tasks/workstation/shared/software/i3.yml index 3fa8152..9ec2ac8 100644 --- a/tasks/workstation/shared/software/i3.yml +++ b/tasks/workstation/shared/software/i3.yml @@ -5,7 +5,7 @@ # work to change things around. Good alternative to DWM and so lightweight that # it doesn´t even matter if both are installed!! -- name: Workstation | Shared | Software | i3 | i3 | Facts 01 +- name: Workstation | Shared | Software | i3 | Facts 01 set_fact: i3_config: "settings/i3.config" i3_config_dir: "{{ user_user.home }}/.config/i3" @@ -19,18 +19,18 @@ i3_theme02: arc-theme i3_theme03: numix-gtk-theme -- name: Workstation | Shared | Software | i3 | i3 | Facts 02 +- name: Workstation | Shared | Software | i3 | Facts 02 set_fact: i3_config_file: "{{ i3_config_dir }}/config" -- name: Workstation | Shared | Software | i3 | i3 | Facts | non-apt +- name: Workstation | Shared | Software | i3 | Facts | non-apt set_fact: i3_theme01: htop i3_theme02: htop i3_theme03: htop when: ansible_pkg_mgr != "apt" -- name: Workstation | Shared | Software | i3 | i3 | Facts | yay +- name: Workstation | Shared | Software | i3 | Facts | yay set_fact: i3_yay_packages: - greybird-gtk-theme @@ -38,12 +38,12 @@ - numix-gtk-theme when: ansible_pkg_mgr == "pacman" -#- name: Workstation | Shared | Software | i3 | i3 | Facts | TBD +#- name: Workstation | Shared | Software | i3 | Facts | TBD # set_fact: # i3_package: i3-wm # when: ansible_distribution in ("TBD") -- name: Workstation | Shared | Software | i3 | i3 | Install +- name: Workstation | Shared | Software | i3 | Install package: name: - "{{ i3_package }}" @@ -59,14 +59,14 @@ state: present update_cache: yes -- name: Workstation | Shared | Software | i3 | i3 | Install (yay) +- name: Workstation | Shared | Software | i3 | Install (yay) shell: "yay -Qs {{ item }} || yay --noconfirm -S {{ item }}" loop: "{{ i3_yay_packages }}" when: ansible_pkg_mgr == "pacman" become_user: "{{ aur_user }}" ignore_errors: true -- name: Workstation | Shared | Software | i3 | i3 | Config | Create Dir +- name: Workstation | Shared | Software | i3 | Config | Create Dir ansible.builtin.file: path: "{{ i3_config_dir }}" state: directory @@ -74,7 +74,7 @@ owner: "{{ user }}" group: "{{ user }}" -- name: Workstation | Shared | Software | i3 | i3 | Config | Copy File +- name: Workstation | Shared | Software | i3 | Config | Copy File copy: src: "{{ i3_config }}" dest: "{{ i3_config_file }}" @@ -104,10 +104,10 @@ # # sudo udevadm trigger # -- name: Workstation | Shared | Software | i3 | i3 | Light (Linux Only) +- name: Workstation | Shared | Software | i3 | Light (Linux Only) block: - - name: Workstation | Shared | Software | i3 | i3 | Light | Check Backlights + - name: Workstation | Shared | Software | i3 | Light | Check Backlights ansible.builtin.find: paths: /sys/class/backlight file_type: any # Options: file, directory, any @@ -120,7 +120,7 @@ # ansible.builtin.debug: # msg: "{{ i3_light_device_check }}" - - name: Workstation | Shared | Software | i3 | i3 | Light | Pull Backlight Name + - name: Workstation | Shared | Software | i3 | Light | Pull Backlight Name set_fact: i3_light_device_name: "{{ i3_light_device_check.files[0].path | basename }}" ignore_errors: yes @@ -129,7 +129,7 @@ # ansible.builtin.debug: # msg: "{{ i3_light_device_name }}" - - name: Workstation | Shared | Software | i3 | i3 | Light | udev Rules | Create + - name: Workstation | Shared | Software | i3 | Light | udev Rules | Create ansible.builtin.copy: dest: /etc/udev/rules.d/backlight.rules content: | @@ -140,7 +140,7 @@ mode: '0644' ignore_errors: yes - - name: Workstation | Shared | Software | i3 | i3 | Light | udev Rules | Reload + - name: Workstation | Shared | Software | i3 | Light | udev Rules | Reload command: "{{ item }}" loop: - udevadm control --reload-rules