From ed3279313dd8bd8a9434893a3128b33b83d72ffe Mon Sep 17 00:00:00 2001 From: afonsofrancof Date: Fri, 13 Oct 2023 10:33:49 +0100 Subject: [PATCH] [MINOR] fix xmobar battery spacing --- .config/xmobar/scripts/battery.sh | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.config/xmobar/scripts/battery.sh b/.config/xmobar/scripts/battery.sh index 7bb01e0..a8d02e3 100755 --- a/.config/xmobar/scripts/battery.sh +++ b/.config/xmobar/scripts/battery.sh @@ -12,7 +12,7 @@ then echo "" exit 0 fi - echo "󰋋 $xm3bat%" + echo "󰋋 $xm3bat% " exit 0 fi @@ -24,55 +24,55 @@ if [ $batLevel -le 20 ]; then if [ $charging == "on-line" ]; then - echo "󰂆 $batLevel%" + echo "󰂆 $batLevel% " else - echo "󰁻 $batLevel%" + echo "󰁻 $batLevel% " fi elif [ $batLevel -le 30 ]; then if [ $charging == "on-line" ]; then - echo "󰂇 $batLevel%" + echo "󰂇 $batLevel% " else - echo "󰁼 $batLevel%" + echo "󰁼 $batLevel% " fi elif [ $batLevel -le 40 ]; then if [ $charging == "on-line" ]; then - echo "󰂈 $batLevel%" + echo "󰂈 $batLevel% " else - echo "󰁽 $batLevel%" + echo "󰁽 $batLevel% " fi elif [ $batLevel -le 60 ]; then if [ $charging == "on-line" ]; then - echo "󰂉 $batLevel%" + echo "󰂉 $batLevel% " else - echo "󰁿 $batLevel%" + echo "󰁿 $batLevel% " fi elif [ $batLevel -le 80 ]; then if [ $charging == "on-line" ]; then - echo "󰂊 $batLevel%" + echo "󰂊 $batLevel% " else - echo "󰂁 $batLevel%" + echo "󰂁 $batLevel% " fi elif [ $batLevel -le 95 ]; then if [ $charging == "on-line" ]; then - echo "󰂋 $batLevel%" + echo "󰂋 $batLevel% " else - echo "󰂂 $batLevel%" + echo "󰂂 $batLevel% " fi else if [ $charging == "on-line" ]; then - echo "󰂅 $batLevel%" + echo "󰂅 $batLevel% " else - echo "󰁹 $batLevel%" + echo "󰁹 $batLevel% " fi fi