Correction du script dunst
This commit is contained in:
parent
798917e698
commit
b9a8dea761
1 changed files with 2 additions and 2 deletions
|
@ -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>"
|
||||
|
|
Loading…
Reference in a new issue