diff --git a/.config/xmobar/scripts/battery.sh b/.config/xmobar/scripts/battery.sh
index c49c1d8..14e1e2d 100755
--- a/.config/xmobar/scripts/battery.sh
+++ b/.config/xmobar/scripts/battery.sh
@@ -9,56 +9,55 @@ if [ $batLevel -le 20 ];
then
if [ $charging == "on-line" ];
then
- echo " "
+ echo " "
else
- echo " "
+ echo " "
fi
elif [ $batLevel -le 30 ];
then
if [ $charging == "on-line" ];
then
- echo " "
+ echo " "
else
- echo " "
+ echo " "
fi
elif [ $batLevel -le 40 ];
then
if [ $charging == "on-line" ];
then
- echo " "
+ echo " "
else
- echo " "
+ echo " "
fi
elif [ $batLevel -le 60 ];
then
if [ $charging == "on-line" ];
then
- echo " "
+ echo " "
else
- echo " "
+ echo " "
fi
elif [ $batLevel -le 80 ];
then
if [ $charging == "on-line" ];
then
- echo " "
+ echo " "
else
- echo " "
+ echo " "
fi
elif [ $batLevel -le 95 ];
then
if [ $charging == "on-line" ];
then
- echo " "
+ echo " "
else
- echo " "
+ echo " "
fi
-elif [ $batLevel -g 95 ];
-then
+else
if [ $charging == "on-line" ];
then
- echo " "
+ echo " "
else
- echo " "
+ echo " "
fi
fi
diff --git a/.config/xmobar/scripts/bluetooth.sh b/.config/xmobar/scripts/bluetooth.sh
index bb88ddc..747a6eb 100755
--- a/.config/xmobar/scripts/bluetooth.sh
+++ b/.config/xmobar/scripts/bluetooth.sh
@@ -2,14 +2,14 @@
regex="([0-9A-Z]*:)+"
DEVICES=$(bluetoothctl devices)
-ICON=""
+ICON=""
COLOR="#696B71"
for DEVICE in $DEVICES
do
if [[ $DEVICE =~ $regex ]]; then
STATUS=$(bluetoothctl info $DEVICE | grep "Connected" | awk '{print $2}')
if [ $STATUS = "yes" ]; then
- ICON=""
+ ICON=""
COLOR="#DFDFDF"
fi
fi
diff --git a/.config/xmobar/scripts/network.sh b/.config/xmobar/scripts/network.sh
index 715357f..3d69bd3 100755
--- a/.config/xmobar/scripts/network.sh
+++ b/.config/xmobar/scripts/network.sh
@@ -5,9 +5,9 @@ STATES=($(nmcli device show | grep "GENERAL.STATE" | awk '{print $3}'))
for ((i = 0; i < "${#TYPES[@]}"; i++)); do
if [[ ${STATES[$i]} = "(connected)" ]]; then
if [[ ${TYPES[$i]} == *"wifi"* ]]; then
- echo "直"
+ echo ""
else
- echo "ﯱ"
+ echo ""
fi
fi
done
diff --git a/.config/xmobar/scripts/volume.sh b/.config/xmobar/scripts/volume.sh
index 81c985f..69da867 100755
--- a/.config/xmobar/scripts/volume.sh
+++ b/.config/xmobar/scripts/volume.sh
@@ -3,9 +3,9 @@ MUTE=$(pactl get-sink-mute @DEFAULT_SINK@ | sed -En 's/Mute: (.)/\1/p')
VOLUME=$(pactl get-sink-volume @DEFAULT_SINK@ | grep -Po '[0-9]*%' | sed -En 's/(.)\%/\1/p' | head -n1)
if [ "$MUTE" = "yes" ]; then
- echo "婢"
+ echo ""
elif [ "$VOLUME" -le 20 ]; then
- echo "奔 $VOLUME"
+ echo " $VOLUME"
else
- echo "墳 $VOLUME"
+ echo " $VOLUME"
fi