Add native notifications with OSD-style banners and a Control Center module

glassMxrph now owns org.freedesktop.Notifications. Banners drop out of the
bar like the OSD; Control Center stacks history per app like macOS
Notification Center. Do Not Disturb lives in the shell and falls back to
SwayNC while another daemon holds the bus name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mxandClaude Opus 5.5 committed 2026-10-15 14:47:40 +02:00
1 parent d7f0498ba0
commit 395de70b26
17 files changed
+1132 -13

No files matched your search

+7 -1
View File
@@ -58,8 +58,14 @@ case "${1:-run}" in
fi
exec quickshell ipc --path "$project_dir/quickshell" call osd "$action"
;;
notifications)
# glassmxrph notifications [dismiss|clear|dnd|status]
action=${2:-status}
[ "$action" = dnd ] && action=toggleDnd
exec quickshell ipc --path "$project_dir/quickshell" call notifications "$action"
;;
settings|close|status)
exec quickshell ipc --path "$project_dir/quickshell" call shell "$1"
;;
*) echo 'Usage: glassmxrph [run|wallpaper|launcher|dashboard [TAB]|plugin ACTION|controlcenter|lock|widgets|osd ACTION|settings|close|status|doctor]' >&2; exit 2 ;;
*) echo 'Usage: glassmxrph [run|wallpaper|launcher|dashboard [TAB]|plugin ACTION|controlcenter|lock|widgets|osd ACTION|notifications ACTION|settings|close|status|doctor]' >&2; exit 2 ;;
esac