dotfiles

<-- duh.
git clone https://hhvn.uk/dotfiles
git clone git://hhvn.uk/dotfiles
Log | Files | Refs | Submodules | LICENSE

notify-send (387B)


      1 #!/bin/sh
      2 # based upon: https://raw.githubusercontent.com/dudik/herbe/24557245869662e1885f286037ecc37038a5f791/notify-send
      3 
      4 while [ $# -ne 0 ] && [ ${narg:-0} -ne 1 ]
      5 do
      6 	case "$1" in
      7 	--urgency|--expire-time|--icon|--category) shift 2 ;;
      8 	--) shift; narg=1 ;;
      9 	*)
     10 		echo "$1" | grep '^-[utich]*$' >/dev/null &&
     11 			shift 2 || narg=1
     12 	esac
     13 done
     14 
     15 nohup herbe "$@" >/dev/null 2>/dev/null &