mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
plugins/battery: Remove composure.sh annotations
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user