From 513fba62c461b89fa06862a877b08191c82109ac Mon Sep 17 00:00:00 2001 From: Ray Sherwin <slick517d@gmail.com> Date: Thu, 1 Aug 2019 09:40:57 -0500 Subject: [PATCH] Added battery staus icon to taskbar --- .../etc/skel/.config/xfce4/panel/battery-1.rc | 20 +++++++++++++++++++ .../xfce-perchannel-xml/xfce4-panel.xml | 14 ++++++++++++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 overlays/xfce/etc/skel/.config/xfce4/panel/battery-1.rc diff --git a/overlays/xfce/etc/skel/.config/xfce4/panel/battery-1.rc b/overlays/xfce/etc/skel/.config/xfce4/panel/battery-1.rc new file mode 100644 index 00000000..9f69704b --- /dev/null +++ b/overlays/xfce/etc/skel/.config/xfce4/panel/battery-1.rc @@ -0,0 +1,20 @@ +display_label=false +display_icon=true +display_power=false +display_percentage=true +display_bar=false +display_time=false +tooltip_display_percentage=false +tooltip_display_time=false +low_percentage=10 +critical_percentage=5 +action_on_low=1 +action_on_critical=1 +hide_when_full=1646290035 +colorA=rgb(136,136,255) +colorH=rgb(0,255,0) +colorL=rgb(255,255,0) +colorC=rgb(255,0,0) +command_on_low= +command_on_critical= + diff --git a/overlays/xfce/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml b/overlays/xfce/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml index bb9443af..4068673b 100755 --- a/overlays/xfce/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml +++ b/overlays/xfce/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml @@ -15,12 +15,15 @@ <value type="int" value="9"/> <value type="int" value="11"/> <value type="int" value="12"/> + <value type="int" value="14"/> <value type="int" value="3"/> <value type="int" value="13"/> <value type="int" value="15"/> <value type="int" value="4"/> <value type="int" value="16"/> <value type="int" value="6"/> + <value type="int" value="1"/> + <value type="int" value="8"/> <value type="int" value="5"/> <value type="int" value="2"/> </property> @@ -55,7 +58,9 @@ <value type="string" value="15646653931.desktop"/> </property> </property> - <property name="plugin-10" type="string" value="separator"/> + <property name="plugin-10" type="string" value="separator"> + <property name="style" type="uint" value="3"/> + </property> <property name="plugin-11" type="string" value="launcher"> <property name="items" type="array"> <value type="string" value="15646655812.desktop"/> @@ -67,5 +72,12 @@ </property> </property> <property name="plugin-13" type="string" value="separator"/> + <property name="plugin-1" type="string" value="battery"/> + <property name="plugin-8" type="string" value="separator"> + <property name="style" type="uint" value="3"/> + </property> + <property name="plugin-14" type="string" value="separator"> + <property name="style" type="uint" value="3"/> + </property> </property> </channel> -- GitLab