This commit is contained in:
Zacharias-Brohn
2026-01-19 18:40:28 +01:00
parent 8bd6547af9
commit 567faff34e
85 changed files with 2182 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# show-notifications.sh: display Dunst history in Rofi
# Fetch all notifications as JSON
history=$(dunstctl history)
# Parse and format: use jq to extract summary and body (as an example)
items=$(echo "$history" \
| jq -r '.data[][] | "\(.summary.data) \(.body.data)"')
# Show with Rofi (fallback: you could use dmenu similarly)
echo "$items" | rofi -dmenu -i -p "Notifications"