From bcf430f3430f6d320c61b70ea338b00a42e326fc Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 14 Mar 2019 21:56:01 +0000 Subject: [PATCH] replace powertop with xfce-power-manager --- files/powertop.service | 9 --------- tasks/autostart.yml | 1 + tasks/i3.yml | 2 +- tasks/power-saving.yml | 13 +------------ 4 files changed, 3 insertions(+), 22 deletions(-) delete mode 100644 files/powertop.service diff --git a/files/powertop.service b/files/powertop.service deleted file mode 100644 index d30f4ce..0000000 --- a/files/powertop.service +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=Powertop tunings - -[Service] -ExecStart=/usr/bin/powertop --auto-tune -RemainAfterExit=true - -[Install] -WantedBy=multi-user.target diff --git a/tasks/autostart.yml b/tasks/autostart.yml index 72d5c7e..49c069c 100644 --- a/tasks/autostart.yml +++ b/tasks/autostart.yml @@ -35,3 +35,4 @@ with_items: - 'flameshot' - 'libinput-gestures' + - 'xfce4-power-manager-settings.' diff --git a/tasks/i3.yml b/tasks/i3.yml index 609fc98..5ea4de2 100644 --- a/tasks/i3.yml +++ b/tasks/i3.yml @@ -82,7 +82,7 @@ - name: "Create rofi config" copy: - src: './files/alacritty.yml' + src: './files/rofi.conf' dest: '{{ home }}/.config/rofi/config' mode: 0644 owner: "{{ user }}" diff --git a/tasks/power-saving.yml b/tasks/power-saving.yml index d46ba9b..61810dd 100644 --- a/tasks/power-saving.yml +++ b/tasks/power-saving.yml @@ -13,6 +13,7 @@ - smartmontools - 'sysstat' - tlp + - xfce4-power-manager - name: Enable TLP services service: @@ -26,15 +27,3 @@ src: ./files/tlp.conf dest: /etc/default/tlp 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