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