|
@ -11,12 +11,12 @@ dwm_battery () { |
|
|
|
|
|
|
|
|
if [ "$IDENTIFIER" = "unicode" ]; then |
|
|
if [ "$IDENTIFIER" = "unicode" ]; then |
|
|
if [ "$STATUS" = "Charging" ]; then |
|
|
if [ "$STATUS" = "Charging" ]; then |
|
|
printf "[🔌 %s %s]\n" "$CHARGE" "$STATUS" |
|
|
|
|
|
|
|
|
printf "[🔌 %s%% %s]\n" "$CHARGE" "$STATUS" |
|
|
else |
|
|
else |
|
|
printf "[🔋 %s %s]\n" "$CHARGE" "$STATUS" |
|
|
|
|
|
|
|
|
printf "[🔋 %s %%%s]\n" "$CHARGE" "$STATUS" |
|
|
fi |
|
|
fi |
|
|
else |
|
|
else |
|
|
printf "[BAT %s %s]\n" "$CHARGE" "$STATUS" |
|
|
|
|
|
|
|
|
printf "[BAT %s%% %s]\n" "$CHARGE" "$STATUS" |
|
|
fi |
|
|
fi |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|