From b9a8dea7614b00ef1fad0a751b4e5a84347d4e1f Mon Sep 17 00:00:00 2001 From: Breizh Date: Wed, 29 Jul 2020 10:26:35 +0200 Subject: [PATCH] Correction du script dunst --- .i3blocks/dunst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ""