diff --git a/.profile b/.profile index fbae8a8..41286cb 100644 --- a/.profile +++ b/.profile @@ -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 diff --git a/bin/battery b/bin/battery index 060280c..8cf9c9a 100755 --- a/bin/battery +++ b/bin/battery @@ -1,4 +1,8 @@ #!/bin/sh +# +# battery +# +# Penser à modifier la variable dans ~/.profile HEART_FULL=♥ HEART_EMPTY=♡