[module/phone-battery] type = custom/script exec = ~/.config/polybar/scripts/phone-battery exec-if = ~/.config/polybar/scripts/phone-is-connected format = 