#!/bin/bash

# nomarchy-toggle-waybar: Toggle the Waybar status bar on and off.

if pgrep -x waybar > /dev/null; then
    pkill waybar
else
    # Start waybar in the background using uwsm
    uwsm-app -- waybar &
fi
