From 247915c231641f63e76b8b6a8679807101f7a350 Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Fri, 27 Aug 2021 02:13:39 +0000 Subject: [PATCH] Quoting strings for safety --- reddit-wallpaper-fetcher | 2 +- reddit-wallpaper-fetcher.conf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/reddit-wallpaper-fetcher b/reddit-wallpaper-fetcher index 278d2fc..ee62a28 100755 --- a/reddit-wallpaper-fetcher +++ b/reddit-wallpaper-fetcher @@ -4,7 +4,7 @@ #Default variables SUBREDDITS=("Wallpapers") -SORT=new +SORT="new" USER=$(whoami) SIZE=1920x1080 WRITE_TITLE=1 diff --git a/reddit-wallpaper-fetcher.conf b/reddit-wallpaper-fetcher.conf index 2b40c9a..026edab 100644 --- a/reddit-wallpaper-fetcher.conf +++ b/reddit-wallpaper-fetcher.conf @@ -1,9 +1,9 @@ #List of subreddits to check SUBREDDITS=("Wallpapers") #What sort fetch list by, will choose the latest -SORT=new +SORT="new" #User-agent, shouldn't have to change -USER=$(whoami) +USER="$(whoami)" #Size of final image, currently unused SIZE=1920x1080 #Whether to write the title on the final image -- Gitblit v1.10.0