~kris/dots

srice

ref: 021c9dd69ba66145a888be77bff159c87364054d srice/.config/eww/scripts/get_notifications.sh -rwxr-xr-x 194 bytes
021c9dd6 — Kris Yotam add feedsync fish function for opml-to-sfeedrc sync 5 months ago
                                                                                
1
2
3
4
5
6
7
#!/bin/bash
dunstctl history 2>/dev/null | jq -c '[.data[0][]? | {
  appname: .appname.data,
  summary: .summary.data,
  id: .id.data,
  icon: .icon_path.data
}] // []' 2>/dev/null || echo '[]'