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

Merge pull request #5 from roles-ansible/i3blocks

Update i3bar errors
This commit is contained in:
L3D 2021-11-15 00:37:08 +01:00 committed by GitHub
commit f12475bf0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 28 additions and 6 deletions

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

View file

@ -40,11 +40,33 @@
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
- name: mkdir ~/.config/i3blocks/
become: true become: true
ansible.builtin.copy: ansible.builtin.file:
src: "{{ role_path }}/files/i3blocks/" path: "/home/{{ i3wm_user }}/.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: 9024 # should be int
playbook_version_path: 'role-i3wm_chaos-bodensee_github.com.version' playbook_version_path: 'role-i3wm_chaos-bodensee_github.com.version'