Skip to content

Commit

Permalink
plugins/battery: Remove composure.sh annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Jan 8, 2022
1 parent 2c20b7b commit b2ba5d8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions plugins/battery/battery.plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,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=$(upower --show-info $(upower --enumerate | grep BAT) | grep percentage | tail --bytes 5)
Expand Down Expand Up @@ -124,10 +124,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
Expand Down

0 comments on commit b2ba5d8

Please sign in to comment.