dotfiles/tasks/power-saving.yml

28 lines
634 B
YAML
Raw Normal View History

- name: Install power-saving stuff
2018-09-14 09:48:18 +01:00
aur:
name: "{{ item }}"
become: true
become_user: aur_builder
loop:
- acpi
2018-09-14 09:48:18 +01:00
- ethtool
- powertop
- psensor
2018-09-14 09:48:18 +01:00
- smartmontools
- sysstat
- xfce4-power-manager
2018-09-14 09:48:18 +01:00
- name: Create XFCE4 power manager config directory
file:
path: "{{ home }}/.config/xfce4/xfconf/xfce-perchannel-xml"
state: directory
owner: "{{ user }}"
mode: 0755
2019-05-26 12:11:26 +01:00
- 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