BATTERY: utilisation de .profile pour définir la batterie BAT0

This commit is contained in:
Olivier DOSSMANN 2021-07-31 13:52:20 +02:00
parent f7bd0463f3
commit 143ad34587

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