dotfiles/tasks/power-saving.yml
Maxwell G 56794341da
Switch to kewlfft.aur collection
See https://github.com/kewlfft/ansible-aur/pull/58 for more info.

Signed-off-by: Maxwell G <gotmax@e.email>
2021-11-06 19:46:32 -05:00

27 lines
646 B
YAML

- name: Install power-saving stuff
kewlfft.aur.aur:
name: "{{ item }}"
become: true
become_user: aur_builder
loop:
- acpi
- ethtool
- powertop
- psensor
- smartmontools
- sysstat
- xfce4-power-manager
- name: Create XFCE4 power manager config directory
file:
path: "{{ home }}/.config/xfce4/xfconf/xfce-perchannel-xml"
state: directory
owner: "{{ user }}"
mode: 0755
- name: Install XFCE4 power manager config
copy:
src: ./files/xfce4-power-manager.xml
dest: "{{ home }}/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml"
owner: "{{ user }}"
mode: 0644