Add power manager config to dotfiles
This commit is contained in:
parent
91dd471ed2
commit
828db9f0eb
2 changed files with 38 additions and 0 deletions
31
files/xfce4-power-manager.xml
Normal file
31
files/xfce4-power-manager.xml
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="xfce4-power-manager" version="1.0">
|
||||||
|
<property name="xfce4-power-manager" type="empty">
|
||||||
|
<property name="brightness-switch-restore-on-exit" type="int" value="1"/>
|
||||||
|
<property name="brightness-switch" type="int" value="0"/>
|
||||||
|
<property name="show-tray-icon" type="bool" value="true"/>
|
||||||
|
<property name="brightness-on-battery" type="uint" value="120"/>
|
||||||
|
<property name="brightness-level-on-battery" type="uint" value="80"/>
|
||||||
|
<property name="dpms-on-battery-sleep" type="uint" value="60"/>
|
||||||
|
<property name="dpms-on-battery-off" type="uint" value="0"/>
|
||||||
|
<property name="blank-on-battery" type="int" value="30"/>
|
||||||
|
<property name="blank-on-ac" type="int" value="0"/>
|
||||||
|
<property name="dpms-on-ac-sleep" type="uint" value="0"/>
|
||||||
|
<property name="dpms-on-ac-off" type="uint" value="0"/>
|
||||||
|
<property name="lid-action-on-battery" type="uint" value="1"/>
|
||||||
|
<property name="logind-handle-lid-switch" type="bool" value="true"/>
|
||||||
|
<property name="lid-action-on-ac" type="uint" value="1"/>
|
||||||
|
<property name="general-notification" type="bool" value="false"/>
|
||||||
|
<property name="brightness-level-on-ac" type="uint" value="77"/>
|
||||||
|
<property name="sleep-button-action" type="uint" value="1"/>
|
||||||
|
<property name="hibernate-button-action" type="uint" value="2"/>
|
||||||
|
<property name="handle-brightness-keys" type="bool" value="false"/>
|
||||||
|
<property name="power-button-action" type="uint" value="3"/>
|
||||||
|
<property name="critical-power-action" type="uint" value="3"/>
|
||||||
|
<property name="critical-power-level" type="uint" value="7"/>
|
||||||
|
<property name="inactivity-sleep-mode-on-battery" type="uint" value="1"/>
|
||||||
|
<property name="inactivity-on-battery" type="uint" value="60"/>
|
||||||
|
<property name="brightness-on-ac" type="uint" value="9"/>
|
||||||
|
</property>
|
||||||
|
</channel>
|
|
@ -36,3 +36,10 @@
|
||||||
src: ./files/tlp.conf
|
src: ./files/tlp.conf
|
||||||
dest: /etc/default/tlp
|
dest: /etc/default/tlp
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
|
||||||
|
- 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
|
||||||
|
|
Loading…
Reference in a new issue