When running the code:
#!/usr/bin/env bash while true do export DISPLAY=:0.0 battery_percent=$(acpi -b | grep -P -o \'[0-9]+(?=%)\') if on_ac_powe