Optimized msi-keyboard-color and caffeine

This commit is contained in:
2023-05-28 08:28:21 +02:00
parent b8a23f95db
commit df6e2c7fc5
20 changed files with 245 additions and 44 deletions

View File

@@ -1,13 +1,16 @@
- name: install caffeine
---
- name: Install caffeine
kewlfft.aur.aur:
use: yay
name:
- caffeine-ng
- name: Copy caffeine systemd service file
- name: Create autostart directory if it doesn't exist
file:
path: "{{ ansible_env.HOME }}/.config/autostart"
state: directory
- name: Copy caffeine.desktop file to autostart directory
template:
src: caffeine.service.j2
dest: /etc/systemd/system/caffeine.service
notify:
- reload systemd
- enable and start caffeine
src: caffeine.desktop.j2
dest: "{{ ansible_env.HOME }}/.config/autostart/caffeine.desktop"