My scripts for startup, dmenu, and the command line
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

15 行
269 B

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