37 lines
865 B
YAML
37 lines
865 B
YAML
- name: Install packages
|
|
become: true
|
|
apt:
|
|
pkg:
|
|
- i3-wm
|
|
- rofi
|
|
- i3lock
|
|
- nitrogen
|
|
- name: Create i3 config directory
|
|
file:
|
|
path: ~/.config/i3
|
|
state: directory
|
|
- name: Copy i3 config
|
|
copy:
|
|
src: "{{ role_path }}/files/config"
|
|
dest: ~/.config/i3/config
|
|
- name: Copy scripts directory
|
|
copy:
|
|
src: "{{ role_path }}/files/scripts"
|
|
dest: ~/.config/i3
|
|
mode: preserve
|
|
- name: Copy wallpapers
|
|
copy:
|
|
src: "{{ role_path }}/files/wallpapers"
|
|
dest: ~/Pictures
|
|
- name: Create nitrogen config directory
|
|
file:
|
|
path: ~/.config/nitrogen
|
|
state: directory
|
|
- name: Copy nitrogen.cfg
|
|
copy:
|
|
src: "{{ role_path }}/files/nitrogen.cfg"
|
|
dest: ~/.config/nitrogen/nitrogen.cfg
|
|
- name: Copy bg-saved.cfg
|
|
copy:
|
|
src: "{{ role_path }}/files/bg-saved.cfg"
|
|
dest: ~/.config/nitrogen/bg-saved.cfg
|