#!/bin/bash

if [ "$1" = "toggle" ]; then
    dunstctl set-paused toggle
fi

is_paused=$(dunstctl is-paused)

if [ "$is_paused" = "true" ]; then
    echo "%{F${color_background}}%{B${color_primary}} 󰂛 %{B- F-}"
else
    echo "%{F${color_foreground}}%{B${color_background}} 󰂚 %{B- F-}"
fi
