Correction du script dunst
This commit is contained in:
parent
85d2107c5c
commit
3a018048e5
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