#!/bin/sh

if [ $(pgrep -c waybar) -gt 0 ]; then
    echo "killing"
    kill $(pgrep waybar)
else
    echo "starting"
    waybar &
fi