BATTERY: change battery number

This commit is contained in:
Olivier DOSSMANN 2021-06-25 21:48:00 +02:00
parent 81c0e7e27e
commit ff4656ee37

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/BAT0"
# Permit DBUS to be launched
if [ "$0" = "/usr/sbin/lightdm-session" -a "$DESKTOP_SESSION" = "i3" ]; then