From 0e30e03a49c9c958cf694a5812f21b6c932b7fee Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Thu, 10 Dec 2020 13:12:32 +0000 Subject: [PATCH] moved from wallpaper-reddit to reddit-wallpaper-fetcher --- /dev/null | 29 ----------------------------- Makefile | 2 +- reddit-wallpaper-fetcher/.config/reddit-wallpaper-fetcher.conf | 16 ++++++++++++++++ emacs/.emacs.d | 2 +- 4 files changed, 18 insertions(+), 31 deletions(-) diff --git a/Makefile b/Makefile index c2c08a7..5ac56b6 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ SHELLS = bash zsh all-shells UTILS = emacs git aspell FUN = mpd ncmpcpp mailcap rtv -DESKTOP = libinput-gestures wallpaper-reddit +DESKTOP = libinput-gestures reddit-wallpaper-fetcher CONFIGS = $(SHELLS) $(UTILS) $(FUN) $(DESKTOP) diff --git a/emacs/.emacs.d b/emacs/.emacs.d index 0b5a779..27d33bc 160000 --- a/emacs/.emacs.d +++ b/emacs/.emacs.d @@ -1 +1 @@ -Subproject commit 0b5a779a14b763910696016566a3d123d004fee9 +Subproject commit 27d33bcdb6196199cee3334a9e8e440b5f3ed996 diff --git a/reddit-wallpaper-fetcher/.config/reddit-wallpaper-fetcher.conf b/reddit-wallpaper-fetcher/.config/reddit-wallpaper-fetcher.conf new file mode 100644 index 0000000..d2a87e5 --- /dev/null +++ b/reddit-wallpaper-fetcher/.config/reddit-wallpaper-fetcher.conf @@ -0,0 +1,16 @@ +#List of subreddits to check +SUBREDDITS=("EarthPorn" "CityPorn" "SpacePorn" "Wallpapers") +#What sort fetch list by, will choose the latest +SORT=new +#User-agent, shouldn't have to change +USER=$(whoami) +#Size of final image, currently unused +SIZE=1920x1080 +#Whether to write the title on the final image +WRITE_TITLE=1 +#Title color for ImageMagick +TITLE_COLOR="white" +#Title position for ImageMagick (North, South, East, West, Centre) +TITLE_POSITION="Southeast" +#Title font size +TITLE_SIZE=30 diff --git a/wallpaper-reddit/.config/wallpaper-reddit/wallpaper-reddit.conf b/wallpaper-reddit/.config/wallpaper-reddit/wallpaper-reddit.conf deleted file mode 100644 index b6a18ae..0000000 --- a/wallpaper-reddit/.config/wallpaper-reddit/wallpaper-reddit.conf +++ /dev/null @@ -1,29 +0,0 @@ -[SetCommand] -# Only necessary if prompted by the program -setcommand = - -[Options] -subs = earthporn,spaceporn,cityporn -minwidth = 1920 -minheight = 1080 -# Float value for minimal aspect ratio of the picture, e.g. 1.6 for 16:9 -minratio = 0.0 -maxlinks = 20 -resize = True -random = False -sortby = new - -[Title Overlay] -settitle = True -titlesize = 24 -titlealignx = right -titlealigny = bottom -titleoffsetx = 5 -titleoffsety = 5 - -[Startup] -attempts = 10 -interval = 3 - -[Save] -directory = ~/Pictures/Wallpapers -- Gitblit v1.9.3