Correctly use env variables in launch.sh
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
c94d46b9ef
commit
67227dcfe7
1 changed files with 2 additions and 2 deletions
|
@ -19,9 +19,9 @@ killall -q polybar
|
||||||
while pgrep -x polybar >/dev/null; do sleep 1; done
|
while pgrep -x polybar >/dev/null; do sleep 1; done
|
||||||
|
|
||||||
if [ "${IS_WORK}" = "1" ]; then
|
if [ "${IS_WORK}" = "1" ]; then
|
||||||
POLYBAR_BATTERY="BAT1"
|
export POLYBAR_BATTERY="BAT1"
|
||||||
else
|
else
|
||||||
POLYBAR_BATTERY="BAT0"
|
export POLYBAR_BATTERY="BAT0"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Launch bar1 and bar2
|
# Launch bar1 and bar2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue