[download]

local/bin/notify

   1 #!/bin/bash
   2 
   3 c=${1#_} i=$(icon $c)
   4 f=~/.cache/notify.svg
   5 
   6 source ~/.theme/sh
   7 notify-send -a notify-$c -i $f -- "${c^}" "$(
   8     $* | awk '{ print substr($0, 0, 60) }'
   9     printf '<svg width="22" height="22"><text font-family="Nerdfont"
  10     y="18" font-size="20" fill="%s">%s</text></svg>' $foreground $i > $f
  11 )" &