computer-playbook/roles/application-caffeine/tasks/main.yml

17 lines
366 B
YAML
Raw Normal View History

---
- name: Install caffeine
kewlfft.aur.aur:
use: yay
name:
- caffeine-ng
- name: Create autostart directory if it doesn't exist
file:
2023-05-28 23:46:12 +02:00
path: "{{auto_start_directory}}"
state: directory
- name: Copy caffeine.desktop file to autostart directory
template:
src: caffeine.desktop.j2
2023-05-28 23:46:12 +02:00
dest: "{{auto_start_directory}}caffeine.desktop"