dotfiles/tasks/power-saving.yml

28 lines
646 B
YAML
Raw Permalink Normal View History

- name: Install power-saving stuff
kewlfft.aur.aur:
2018-09-14 09:48:18 +01:00
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