#!/bin/bash # a simple wrapper for inserting xmobar stuff IFS=" " read -r -a parts <<< "$(status-bat)" echo "${parts[0]} ${parts[1]}"