8 lines
178 B
Bash
8 lines
178 B
Bash
|
|
#!/bin/bash
|
||
|
|
|
||
|
|
if makoctl mode | grep -q 'do-not-disturb'; then
|
||
|
|
echo '{"text": "", "tooltip": "Notifications silenced", "class": "active"}'
|
||
|
|
else
|
||
|
|
echo '{"text": ""}'
|
||
|
|
fi
|