From 67227dcfe776e25d031e1549593c205e88824329 Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Wed, 29 May 2019 14:03:41 +0200 Subject: [PATCH] Correctly use env variables in launch.sh Signed-off-by: Severin Kaderli --- system/.config/polybar/launch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/.config/polybar/launch b/system/.config/polybar/launch index e5afca7..c86d331 100755 --- a/system/.config/polybar/launch +++ b/system/.config/polybar/launch @@ -19,9 +19,9 @@ killall -q polybar while pgrep -x polybar >/dev/null; do sleep 1; done if [ "${IS_WORK}" = "1" ]; then - POLYBAR_BATTERY="BAT1" + export POLYBAR_BATTERY="BAT1" else - POLYBAR_BATTERY="BAT0" + export POLYBAR_BATTERY="BAT0" fi # Launch bar1 and bar2