My scripts for startup, dmenu, and the command line
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
189 B

  1. #!/bin/sh
  2. pager() {
  3. # st -e tail -F -n +1 "/tmp/pages-$1"
  4. st -e less "/tmp/pages-$1"
  5. }
  6. pdf() {
  7. st -e zathura "/tmp/pages-$1"
  8. }
  9. case $1 in
  10. pager) pager "$2";;
  11. pdf) pdf "$2";;
  12. esac