dotfiles

personal dotfiles
git clone anongit@rnpnr.xyz:dotfiles.git
Log | Files | Refs | Feed | Submodules

notify (207B)


      1 #!/bin/sh
      2 
      3 usage() {
      4 	echo "${0##*/}" '[-c "command"] "Line 1" "Line 2" ...'
      5 	exit 1
      6 }
      7 
      8 [ ${#} -lt 1 ] && usage
      9 
     10 command="true"
     11 
     12 if [ "$1" = '-c' ]; then
     13 	command="$2"
     14 	shift 2;
     15 fi
     16 
     17 herbe "$@" && $command &