diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-04-08 17:21:40 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-04-08 17:21:40 -0400 |
| commit | 422d106fbab5505f3810fa845f4f71547c7a4332 (patch) | |
| tree | f6a04c7eabbad04e7c11b3da8e683e69b9df5da2 /.local/bin/queueandnotify | |
| parent | 2c06dd36c61dea7383d2a12900eb83ee1751115a (diff) | |
| download | eibhear-422d106fbab5505f3810fa845f4f71547c7a4332.tar.gz eibhear-422d106fbab5505f3810fa845f4f71547c7a4332.tar.zst eibhear-422d106fbab5505f3810fa845f4f71547c7a4332.zip | |
assume default values if xdg dirs not set
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 24746c8..002c2a3 100755 --- a/.local/bin/queueandnotify +++ b/.local/bin/queueandnotify @@ -3,7 +3,7 @@ # Podboat sucks. This script replaces it. # It reads the newsboat queue, queuing downloads with taskspooler. # It also removes the junk from extentions. -queuefile="$XDG_DATA_HOME/newsboat/queue" +queuefile="${XDG_DATA_HOME:$HOME/.local/share}/newsboat/queue" while read -r line; do [ -z "$line" ] && continue |
