diff --git a/.i3blocks/dunst b/.i3blocks/dunst index 22dc477..0f18783 100755 --- a/.i3blocks/dunst +++ b/.i3blocks/dunst @@ -2,6 +2,8 @@ active=$(systemctl --user show -p ActiveState --value dunst.service) +echo -n "dunst " + if [[ "$active" == "active" ]] then if [[ -n "$button" ]] @@ -9,8 +11,6 @@ then dunstctl set-paused toggle fi - echo -n "dunst " - if [[ "$(dunstctl is-paused)" == "true" ]] then echo ""