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