machine_setup/ansible/roles/waybar/tasks/freebsd.yaml

24 lines
632 B
YAML

- name: Install packages
package:
name:
- waybar
- python
state: present
- name: Install scripts
copy:
src: "files/waybar_scripts/{{ item.src }}"
dest: "{{ item.dest }}"
mode: 0755
owner: root
group: wheel
loop:
- src: waybar_battery_freebsd.bash
dest: /usr/local/bin/waybar_custom_battery
- src: waybar_available_memory_freebsd.bash
dest: /usr/local/bin/waybar_custom_available_memory
- src: waybar_sound_freebsd.zsh
dest: /usr/local/bin/waybar_custom_sound
- src: waybar_temperature_freebsd.bash
dest: /usr/local/bin/waybar_custom_temperature