1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_i3wm.git synced 2024-08-16 10:09:53 +02:00

Update i3bar errors

This commit is contained in:
L3D 2021-11-08 19:30:22 +01:00
parent 6214f84b3d
commit a3e9191b28
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 28 additions and 7 deletions

0
files/i3blocks/wlan Executable file → Normal file
View file

View file

@ -40,11 +40,32 @@
owner: "{{ i3wm_user }}" owner: "{{ i3wm_user }}"
group: "{{ i3wm_user }}" group: "{{ i3wm_user }}"
- name: copy bin src folder # todo: rewrite user stuff and support multiple users
become: true - name: mkdir ~/.config/i3blocks/
ansible.builtin.copy: ansible.builtin.file:
src: "{{ role_path }}/files/i3blocks/" path: ~/.config/i3blocks/
dest: "~/.config/i3blocks" state: directory
mode: 0755 mode: '0755'
owner: "{{ i3wm_user }}" owner: "{{ i3wm_user }}"
group: "{{ i3wm_user }}" group: "{{ i3wm_user }}"
- name: copy i3blocks config
become: true
ansible.builtin.copy:
src: "files/i3blocks/config"
dest: "/home/{{ i3wm_user }}/.config/i3blocks/config"
mode: 0640
owner: "{{ i3wm_user }}"
group: "{{ i3wm_user }}"
- name: copy i3blocks config
become: true
ansible.builtin.copy:
src: "files/i3blocks/{{ item }}"
dest: "/home/{{ i3wm_user }}/.config/i3blocks/{{ item }}"
mode: 0750
owner: "{{ i3wm_user }}"
group: "{{ i3wm_user }}"
with_items:
- 'volume'
- 'wlan'

View file

@ -33,5 +33,5 @@ __i3_workspaces:
user: "{{ i3wm_user }}" user: "{{ i3wm_user }}"
playbook_version_number: 9021 # should be int playbook_version_number: 9023 # should be int
playbook_version_path: 'role-i3wm_chaos-bodensee_github.com.version' playbook_version_path: 'role-i3wm_chaos-bodensee_github.com.version'