- #!/bin/sh
-
- if [ -z "$1" -o -z "$2" ]; then
- printf "Invalid number of arguments\n"
- exit
- fi
-
-
- case "$1" in
- pager) st -t "Page $1" -e less "/tmp/pages-$2";;
- pager) zathura "/tmp/pages-$2";;
- browser) brave-browser "/tmp/pages-$2";;
- send) cat - > /tmp/pages-$2;;
- esac
|