system-from-scratch/roles/desktop/tasks/waybar.yml

23 lines
587 B
YAML

- name: Install waybar
become: true
ansible.builtin.apt:
pkg:
- waybar
- psmisc # killall command
- name: Create waybar config dir
ansible.builtin.file:
path: /home/lumin/.config/waybar
state: directory
mode: '1770'
- name: Copy waybar config
notify: Restart waybar
ansible.builtin.copy:
src: files/waybar.jsonc
dest: /home/lumin/.config/waybar/config.jsonc
mode: '0660'
- name: Copy waybar styles
notify: Restart waybar
ansible.builtin.copy:
src: files/waybar.css
dest: /home/lumin/.config/waybar/style.css
mode: '0660'