mirror of
https://github.com/roles-ansible/ansible_role_sway.git
synced 2024-08-16 13:49:49 +02:00
commit
f12475bf0b
3 changed files with 28 additions and 6 deletions
0
files/i3blocks/wlan
Executable file → Normal file
0
files/i3blocks/wlan
Executable file → Normal file
|
@ -40,11 +40,33 @@
|
|||
owner: "{{ i3wm_user }}"
|
||||
group: "{{ i3wm_user }}"
|
||||
|
||||
- name: copy bin src folder
|
||||
# todo: rewrite user stuff and support multiple users
|
||||
- name: mkdir ~/.config/i3blocks/
|
||||
become: true
|
||||
ansible.builtin.copy:
|
||||
src: "{{ role_path }}/files/i3blocks/"
|
||||
dest: "~/.config/i3blocks"
|
||||
mode: 0755
|
||||
ansible.builtin.file:
|
||||
path: "/home/{{ i3wm_user }}/.config/i3blocks/"
|
||||
state: directory
|
||||
mode: '0755'
|
||||
owner: "{{ 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'
|
||||
|
|
|
@ -33,5 +33,5 @@ __i3_workspaces:
|
|||
|
||||
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'
|
||||
|
|
Loading…
Reference in a new issue