Updated
This commit is contained in:
parent
463fa0a7a3
commit
e2f655b6d1
1 changed files with 3 additions and 3 deletions
|
@ -2,11 +2,11 @@
|
||||||
# Loop through all attached batteries and format the info
|
# Loop through all attached batteries and format the info
|
||||||
currntpwr=$(powerprofilesctl get)
|
currntpwr=$(powerprofilesctl get)
|
||||||
if [ "${currntpwr}" = "performance" ]; then
|
if [ "${currntpwr}" = "performance" ]; then
|
||||||
pwr="| 🔥 Performance"
|
pwr="- 🔥 Performance"
|
||||||
elif [ "${currntpwr}" = "balanced" ]; then
|
elif [ "${currntpwr}" = "balanced" ]; then
|
||||||
pwr="| ⚖ Balanced"
|
pwr="- ⚖ Balanced"
|
||||||
elif [ "${currntpwr}" = "power-saver" ]; then
|
elif [ "${currntpwr}" = "power-saver" ]; then
|
||||||
pwr="| ⏱ Power Saver"
|
pwr="- ⏱ Power Saver"
|
||||||
fi
|
fi
|
||||||
for battery in /sys/class/power_supply/BAT?*; do
|
for battery in /sys/class/power_supply/BAT?*; do
|
||||||
# If non-first battery, print a space separator.
|
# If non-first battery, print a space separator.
|
||||||
|
|
Loading…
Reference in a new issue