From 023260a78056b0980d13aa84f805d06dc93d11d0 Mon Sep 17 00:00:00 2001 From: nodiscc Date: Sat, 16 Oct 2021 00:22:36 +0200 Subject: [PATCH] skel: xfce4-panel: replace xfce4-power-manager notification icon with battery panel plugin - notification icon is deprecated/shows a broken icon > https://gitlab.xfce.org/xfce/xfce4-power-manager/-/issues/104 > As a general note: if you're using the xfce4-panel don't use the trayicon. It's really the legacy option I left in to potentially enable users of other or mixed desktop environment setups to use xfce4-power-manager. --- .../etc/skel/.config/xfce4/panel/battery-1.rc | 18 ++++++++++++++++++ .../xfconf/xfce-perchannel-xml/xfce4-panel.xml | 4 +++- .../xfce4-power-manager.xml | 2 +- 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 config/includes.chroot/etc/skel/.config/xfce4/panel/battery-1.rc diff --git a/config/includes.chroot/etc/skel/.config/xfce4/panel/battery-1.rc b/config/includes.chroot/etc/skel/.config/xfce4/panel/battery-1.rc new file mode 100644 index 0000000..ad8304d --- /dev/null +++ b/config/includes.chroot/etc/skel/.config/xfce4/panel/battery-1.rc @@ -0,0 +1,18 @@ +display_label=false +display_icon=true +display_power=false +display_percentage=false +display_bar=false +display_bar_time=false +tooltip_display_percentage=true +tooltip_display_time=true +low_percentage=10 +critical_percentage=5 +action_on_low=1 +hide_when_full=0 +colorA=rgb(153,193,241) +colorH=rgb(0,255,0) +colorL=rgb(255,255,0) +colorC=rgb(255,0,0) +command_on_low= +command_on_critical= diff --git a/config/includes.chroot/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml b/config/includes.chroot/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml index 0a89445..dbcb076 100644 --- a/config/includes.chroot/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml +++ b/config/includes.chroot/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml @@ -16,6 +16,7 @@ + @@ -64,5 +65,6 @@ - + + 1 diff --git a/config/includes.chroot/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml b/config/includes.chroot/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml index 1c7ac84..3674bbc 100644 --- a/config/includes.chroot/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml +++ b/config/includes.chroot/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml @@ -16,6 +16,6 @@ - +