#!/bin/bash device=$(~/.config/polybar/scripts/phone-path) echo $(mconnectctl show-battery $device | head -1 | awk '{print $2}')%