#!/bin/sh sym="|" cd "$HOME/.local/bin/scripts/dwmbar/" || exit 1 status() { echo "$(./disk) $sym $(./internet) $sym $(./lamp) $sym $(./music) $sym" \ "$(./alsa) $sym $(./packages) $sym $(./date) $sym $(./clock)" } while :; do xsetroot -name " $(status | tr '\n' ' ')" sleep 1m done