Update battery module for polybar
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
e02b89e0eb
commit
6708822de7
2 changed files with 2 additions and 4 deletions
|
@ -19,11 +19,9 @@ killall -q polybar
|
|||
while pgrep -x polybar >/dev/null; do sleep 1; done
|
||||
|
||||
if [ "${IS_WORK}" = "1" ]; then
|
||||
export POLYBAR_BATTERY="BAT1"
|
||||
export POLYBAR_WLAN="wlp4s0"
|
||||
export POLYBAR_NETWORK="enp0s20f0u1u1i5"
|
||||
else
|
||||
export POLYBAR_BATTERY="BAT0"
|
||||
export POLYBAR_WLAN="wlp3s0"
|
||||
export POLYBAR_NETWORK="enp0s31f6"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue