fix(battery): Use correct battery name ; BAT1

This commit is contained in:
Olivier DOSSMANN 2024-11-20 22:51:37 +01:00
parent 0cd39b8f45
commit cc352dab62
2 changed files with 5 additions and 1 deletions

View File

@ -15,7 +15,7 @@ for term in kitty termite qterminal urxvt rxvt-unicode sakura gnome-terminal; do
done
# Pour la batterie des ordinateurs portables (~/bin/battery)
export BATPATH="/sys/class/power_supply/BAT0"
export BATPATH="/sys/class/power_supply/BAT1"
# Permit DBUS to be launched
if [ "$0" = "/usr/sbin/lightdm-session" -a "$DESKTOP_SESSION" = "i3" ]; then

View File

@ -1,4 +1,8 @@
#!/bin/sh
#
# battery
#
# Penser à modifier la variable dans ~/.profile
HEART_FULL=♥
HEART_EMPTY=♡