diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2021-08-14 13:10:05 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2021-08-14 13:10:05 -0400 |
| commit | eef59cafd76dbb66ab47cf3ee9987387100aa17a (patch) | |
| tree | 079d294e7fb5d41fb1e6c018717adbb67835dd1a /.local/bin/queueandnotify | |
| parent | ebadf06c5abe7b887c3c9d089f39b48940b9134f (diff) | |
| parent | 32f91e223d2cc3ce734939fe5a1f8ad5578e5e25 (diff) | |
| download | eibhear-eef59cafd76dbb66ab47cf3ee9987387100aa17a.tar.gz eibhear-eef59cafd76dbb66ab47cf3ee9987387100aa17a.tar.zst eibhear-eef59cafd76dbb66ab47cf3ee9987387100aa17a.zip | |
Merge branch 'master' of github.com:LukeSmithxyz/voidrice
Diffstat (limited to '.local/bin/queueandnotify')
| -rwxr-xr-x | .local/bin/queueandnotify | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/queueandnotify b/.local/bin/queueandnotify index a54b13e..54b2c2a 100755 --- a/.local/bin/queueandnotify +++ b/.local/bin/queueandnotify @@ -7,7 +7,7 @@ queuefile="${XDG_DATA_HOME:-$HOME/.local/share}/newsboat/queue" while read -r line; do [ -z "$line" ] && continue - url="$(echo "$line" | awk '{print $1}')" + url="${line%%[ ]*}" qndl "$url" "curl -LO" done < "$queuefile" |
