Show the notification bell on the bar

This commit is contained in:
SirBlob committed 2026-09-24 02:53:28 +00:00
1 parent b05311d814
commit 77ba1dadff
6 files changed
+29 -4

No files matched your search

+10
View File
@@ -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