birde

Daemon-less notifications without D-Bus. Minimal and lightweight.
Log | Files | Refs | README | LICENSE

notify.sh (414B)


      1 #!/bin/bash
      2 # unfortunately yes it does use bash specific things i just copied the script from a github issue and it worked please don't beat me up
      3 # i could fix it to make it work with unix shell but i don't feel like doing that right now
      4 tiramisu -o "#summary;#body" | 
      5   while read -r line; do
      6     summary=$(cut -d ';' -f 1 <<< "$line")
      7     body=$(cut -d ';' -f 2 <<< "$line")
      8     birde "$summary" "$body"
      9 done