Correction du script dunst

This commit is contained in:
Breizh 2020-07-29 10:26:35 +02:00
parent 85d2107c5c
commit 3a018048e5

View file

@ -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 "<span foreground=\"#FFCC66\">█</span>"