Show the notification bell on the bar
This commit is contained in:
1 parent
b05311d814
commit
77ba1dadff
6 files changed
+29
-4
No files matched your search
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
# blob:summary=Print the bar bell for the notification centre as module JSON
|
||||
# blob:hidden=true
|
||||
|
||||
if [[ $(blob-shell notifications dndState 2>/dev/null) == on ]]; then
|
||||
printf '{"text":"","tooltip":"Notifications silenced"}\n'
|
||||
else
|
||||
printf '{"text":"","tooltip":"Notifications"}\n'
|
||||
fi
|
||||
Reference in new issue
Block a user