#!/usr/bin/env bash

# Volume
volume=$(amixer get Capture | grep -m1 % | awk '{print $5}' | sed -e 's/\[//' -e 's/\]//')

# Battery
battery=$(cat /sys/class/power_supply/macsmc-battery/capacity)

# Date and Time
date=$(date +'%X %a, %d %b %y')

echo "Vol" $volume "|" "Bat" $battery"%" "|" $date
