Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
Fix acpi typo in battery section (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
salmanulfarzy authored and Matan Kushner committed Oct 23, 2018
1 parent b18330a commit 0a2d59e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/__sf_section_battery.fish
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function __sf_section_battery -d "Displays battery symbol and charge"
set battery_percent (echo $battery_data | grep percentage | awk '{print $2}')
set battery_status (echo $battery_data | grep state | awk '{print $2}')
# Windows machines.
else if type -q apci
else if type -q acpi
set -l battery_data (acpi -b)

# Return if no battery
Expand Down

0 comments on commit 0a2d59e

Please sign in to comment.