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)
|
active=$(systemctl --user show -p ActiveState --value dunst.service)
|
||||||
|
|
||||||
|
echo -n "dunst "
|
||||||
|
|
||||||
if [[ "$active" == "active" ]]
|
if [[ "$active" == "active" ]]
|
||||||
then
|
then
|
||||||
if [[ -n "$button" ]]
|
if [[ -n "$button" ]]
|
||||||
|
@ -9,8 +11,6 @@ then
|
||||||
dunstctl set-paused toggle
|
dunstctl set-paused toggle
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -n "dunst "
|
|
||||||
|
|
||||||
if [[ "$(dunstctl is-paused)" == "true" ]]
|
if [[ "$(dunstctl is-paused)" == "true" ]]
|
||||||
then
|
then
|
||||||
echo "<span foreground=\"#FFCC66\">█</span>"
|
echo "<span foreground=\"#FFCC66\">█</span>"
|
||||||
|
|
Loading…
Reference in a new issue