replace powertop with xfce-power-manager

This commit is contained in:
Jake Howard 2019-03-14 21:56:01 +00:00
parent 7842efa3a9
commit bcf430f343
Signed by: jake
GPG key ID: 57AFB45680EDD477
4 changed files with 3 additions and 22 deletions

View file

@ -1,9 +0,0 @@
[Unit]
Description=Powertop tunings
[Service]
ExecStart=/usr/bin/powertop --auto-tune
RemainAfterExit=true
[Install]
WantedBy=multi-user.target

View file

@ -35,3 +35,4 @@
with_items: with_items:
- 'flameshot' - 'flameshot'
- 'libinput-gestures' - 'libinput-gestures'
- 'xfce4-power-manager-settings.'

View file

@ -82,7 +82,7 @@
- name: "Create rofi config" - name: "Create rofi config"
copy: copy:
src: './files/alacritty.yml' src: './files/rofi.conf'
dest: '{{ home }}/.config/rofi/config' dest: '{{ home }}/.config/rofi/config'
mode: 0644 mode: 0644
owner: "{{ user }}" owner: "{{ user }}"

View file

@ -13,6 +13,7 @@
- smartmontools - smartmontools
- 'sysstat' - 'sysstat'
- tlp - tlp
- xfce4-power-manager
- name: Enable TLP services - name: Enable TLP services
service: service:
@ -26,15 +27,3 @@
src: ./files/tlp.conf src: ./files/tlp.conf
dest: /etc/default/tlp dest: /etc/default/tlp
mode: 0644 mode: 0644
- copy:
src: ./files/powertop.service
dest: /etc/systemd/system/powertop.service
mode: 0644
owner: root
directory_mode: true
- service:
name: "powertop"
enabled: true
state: started