From 1c9af65069da8352832447f52cf0ecc6f6a3b40d Mon Sep 17 00:00:00 2001 From: Koichi Murase Date: Sat, 8 Jan 2022 13:51:41 +0900 Subject: [PATCH] plugins/battery: Remove composure.sh annotations --- plugins/battery/battery.plugin.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/battery/battery.plugin.sh b/plugins/battery/battery.plugin.sh index 47c7621..de164a3 100644 --- a/plugins/battery/battery.plugin.sh +++ b/plugins/battery/battery.plugin.sh @@ -55,10 +55,10 @@ ac_adapter_disconnected(){ fi } +## @fn battery_percentage +## @about 'displays battery charge as a percentage of full (100%)' +## @group 'battery' battery_percentage(){ - about 'displays battery charge as a percentage of full (100%)' - group 'battery' - if command_exists upower; then local UPOWER_OUTPUT=$(_omb_plugin_battery__upower_print_info | sed -n 's/.*percentage[:[:blank:]]*\([0-9%]\{1,\}\)$/\1/p') @@ -128,10 +128,10 @@ battery_percentage(){ fi } +## @fn battery_charge +## @about 'graphical display of your battery charge' +## @group 'battery' battery_charge(){ - about 'graphical display of your battery charge' - group 'battery' - # Full char local F_C='▸' # Depleted char