From c80dcfaa97afb06aceff76a851212598d3d23aab Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Fri, 11 Sep 2020 20:16:57 +0200 Subject: [PATCH] Use strong quotes --- .bin/check-battery-level | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.bin/check-battery-level b/.bin/check-battery-level index b5f4c4f..e36f451 100755 --- a/.bin/check-battery-level +++ b/.bin/check-battery-level @@ -1,8 +1,8 @@ #!/usr/bin/env bash -RED='\033[0;31m' -GREEN='\033[0;32m' -NC='\033[0m' +RED="\033[0;31m" +GREEN="\033[0;32m" +NC="\033[0m" capacityStatus=$(cat /sys/class/power_supply/BAT0/capacity) chargingStatus=""