fix(battery): Use correct battery name ; BAT1
This commit is contained in:
parent
a46cfc2fd6
commit
eccacff256
2
.profile
2
.profile
@ -15,7 +15,7 @@ for term in kitty termite qterminal urxvt rxvt-unicode sakura gnome-terminal; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Pour la batterie des ordinateurs portables (~/bin/battery)
|
# 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
|
# Permit DBUS to be launched
|
||||||
if [ "$0" = "/usr/sbin/lightdm-session" -a "$DESKTOP_SESSION" = "i3" ]; then
|
if [ "$0" = "/usr/sbin/lightdm-session" -a "$DESKTOP_SESSION" = "i3" ]; then
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# battery
|
||||||
|
#
|
||||||
|
# Penser à modifier la variable dans ~/.profile
|
||||||
|
|
||||||
HEART_FULL=♥
|
HEART_FULL=♥
|
||||||
HEART_EMPTY=♡
|
HEART_EMPTY=♡
|
||||||
|
Loading…
Reference in New Issue
Block a user