Dotfiles for different machines on different branches.
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.

13 lines
368 B

  1. #!/bin/sh
  2. # Podboat sucks. This script replaces it.
  3. # It reads the newsboat queue, queuing downloads with taskspooler.
  4. # It also removes the junk from extentions.
  5. queuefile="$HOME/.local/share/newsboat/queue"
  6. while read -r line; do
  7. [ -z "$line" ] && continue
  8. url="$(echo "$line" | awk '{print $1}')"
  9. qndl "$url" "curl -LO"
  10. done < "$queuefile"
  11. echo > "$queuefile"