dotfiles/roles/i3/tasks/main.yml

23 lines
408 B
YAML

---
- name: Ensure i3 is installed
package:
name: i3
state: present
- name: Ensure folder for configuration exists
file:
path: ~/.config/i3
state: directory
recurse: yes
- name: Template config into configuration directory
template:
src: config.j2
dest: ~/.config/i3/config
- name: Create autostart entry
template:
src: ""
dest: ~/.config/autostart/i3.desktop