From 684e21a4eba68ae530f841bc6a450fb23da6aba7 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Tue, 25 Jul 2023 18:07:55 -0400 Subject: [PATCH] add variety --- dot_config/variety/ui.conf | 8 ++ dot_config/variety/variety.conf | 241 ++++++++++++++++++++++++++++++++ 2 files changed, 249 insertions(+) create mode 100644 dot_config/variety/ui.conf create mode 100644 dot_config/variety/variety.conf diff --git a/dot_config/variety/ui.conf b/dot_config/variety/ui.conf new file mode 100644 index 0000000..b63c8fe --- /dev/null +++ b/dot_config/variety/ui.conf @@ -0,0 +1,8 @@ +# Position of thumbnails stripe: bottom, top, left or right +thumbs_position = bottom + +# Size of thumbnails stripe in pixels +thumbs_size = 120 + +# Limit number of shown images for better performance, use "Unlimited" for no limit +thumbs_limit = 200 diff --git a/dot_config/variety/variety.conf b/dot_config/variety/variety.conf new file mode 100644 index 0000000..e14447b --- /dev/null +++ b/dot_config/variety/variety.conf @@ -0,0 +1,241 @@ +# change_on_start = +change_on_start = True + +# change_enabled = +change_enabled = True + +# change_interval = +change_interval = 300 + +# internet_enabled = +internet_enabled = True + +# safe_mode = +safe_mode = False + +# What scripts to use to set the wallpaper, or to obtain the path to the current wallpaper +# Variety automatically manages and upgrades these two files: +# ~/.config/variety/scripts/set_wallpaper +# ~/.config/variety/scripts/get_wallpaper +# If you want some custom logic to happen when Variety tries to set/get the wallpaper, e.g. because +# you use some Desktop Environment that is not supported by default, please create copies of one +# or both of these files, make the new files executable, and provide the new paths here. +# Having a functional set_wallpaper script is essential, get_wallpaper is not so important. +set_wallpaper_script = ~/.config/variety/scripts/set_wallpaper +get_wallpaper_script = ~/.config/variety/scripts/get_wallpaper + +# download_folder = - when not specified, the default is ~/.config/variety/Downloaded +download_folder = ~/.config/variety/Downloaded + +# download_preference_ratio - if we have "unconsumed" download sources, we'll prefer to show a newly +# downloaded image instead of an existing one in this percentage of the cases +download_preference_ratio = 0.9 + +# Determine if the download folder should not exceed a certain size (in megabytes) +# quota_enabled = +# quota_size = +quota_enabled = True +quota_size = 1000 + +# Wallhaven API key, by default it's an empty string +wallhaven_api_key = "" + +# favorites_folder = - when not specified, the default is ~/.config/variety/Favorites +favorites_folder = ~/.config/variety/Favorites + +# Prefer Copy to Favorites or Move to Favorites operation (or both), depending on the folder of the current image +# favorites_operations = +# The default is: Downloaded:Copy;Fetched:Move;Others:Copy +# Order is important - the first matching entry will determine what operation(s) to show in the menu for a specific file +# Special folder names you can use: Downloaded, Fetched and Others (same as "/" - use it as last entry to determine the default operation) +# Example1: Downloaded:Copy;Fetched:Move;/pics/RandomImages:Move;/pics/OrganizedAlbums:Copy;Others:Copy +# Example2: Others:Both - always show both Copy and Move to Favorites, no matter which image is shown +# Move to Favorites is only shown when the user has write permissions over the file, otherwise we fallback to Copy +favorites_operations = Downloaded:Copy;Fetched:Move;Others:Copy + +# wallpaper_auto_rotate = +wallpaper_auto_rotate = True + +# wallpaper_display_mode = <"os" | +# "smart" | "zoom" | "fill-with-black" | "fill-with-blur" | +# "gnome-zoom" | "gnome-centered" | "gnome-scaled" | "gnome-stretched" | "gnome-spanned", "gnome-wallpaper"> +wallpaper_display_mode = smart + +# fetch_folder = - when not specified, the default is ~/.config/variety/Fetched +fetched_folder = ~/.config/variety/Fetched + +# Clipboard monitoring settings +# clipboard_enabled = +# clipboard_use_whitelist = +# clipboard_hosts = +clipboard_enabled = False +clipboard_use_whitelist = True +clipboard_hosts = "wallhaven.cc,wallpapers.net,flickr.com,imgur.com,deviantart.com,interfacelift.com,vladstudio.com,imageshack.us,deviantart.net,imageshack.com" + +# Icon settings +# icon = +icon = Current + +# Prefer only images with this color: +# desired_color_enabled = +# desired_color = +# DISCLAIMER: This feature is still experimental +desired_color_enabled = False +desired_color = 160 160 160 + +# Minimum size of images to use, as a percentage of the screen resolution +# min_size_enabled = +# min_size = +min_size_enabled = False +min_size = 80 + +# Should we use only landscape-oriented images? +# use_landscape_enabled = +use_landscape_enabled = True + +# Prefer light or dark images +# lightness_enabled = +# lightness_mode = <0 for Dark, 1 for Light> +lightness_enabled = False +lightness_mode = 0 + +# Use a filter by rating? +# min_rating_enabled = +# min_rating = <1 | 2 | 3 | 4 | 5> +min_rating_enabled = False +min_rating = 4 + +# What parts of the initial wizard have we covered +smart_notice_shown = False +smart_register_shown = False +stats_notice_shown = False + +# Are smart features enabled (i.e. data collection on Fav/Trash operations), also sync, and anonymous usage stats collection? +# smart_enabled = +smart_enabled = False +sync_enabled = True +stats_enabled = True + +# Folder to copy the wallpaper image to and make it world-readable. Provides LightDM support. +# copyto_enabled = , default is False +# copyto_folder = , the default is Default +# Default means to use the XDG Pictures folder when home folder is unencrypted and /usr/share/backgrounds when it is encrypted. +copyto_enabled = True +copyto_folder = ~/Pictures/wallpapers + +# Clock settings +# clock_enabled = +# clock_font = , default is "Serif 70" +# clock_date_font = , default is "Serif 30" +clock_enabled = False +clock_font = Serif 70 +clock_date_font = Serif 30 + +# clock_filter = +# +# The filter defines the ImageMagick command that Variety uses to render the clock on the wallpaper. +# First some scaling is applied to get the image down to the screen size - this ensures +# the final drawn clock won't be rescaled by the desktop wallpaper system. +# Easiest way to see what's happening is to run variety with -v, enable clock and see what ImageMagick +# commands Variety dumps in the log. +# +# The user may want to customize the following aspects: +# fill - color of "filling" +# stroke - color of outline +# strokewidth - width of outline +# gravity - in which corner to display the clock - SouthEast, NorthEast, SouthWest, NorthWest +# annotate - these must be in the form 0x0+[%HOFFSET+X]+[%VOFFSET+Y], where you can edit X and Y - +# distance from the screen corner defined by gravity. Write them in even if they are 0. +# +# The %HOFFSET and %VOFFSET parameters are there for Variety to replace in order to compensate for the +# diferent dimensions of every image and screen. +# The several %FONT parameters are there for Variety to replace with the font settings from the GUI. +# +# The texts can contain these symbols: +# +# %H - hours (24), %I - zero-padded hours (12), %l - hours (12), %p - am or pm, %M - minutes, +# %A - day of week (full), %a - day of week abbreviation, %B - month name, %b - month abbreviation, %d - day of month, %Y - year. +# The full list for these can be seen here: http://docs.python.org/library/datetime.html#strftime-strptime-behavior +# Have in mind that Variety will not update the clock more often than once every minute, so using seconds (%S) for example is pointless +# +# A tutorial on "annotating" with ImageMagick that you may use as a reference: http://www.imagemagick.org/Usage/annotating/ +# You can get a very uniquely looking clock with some of the more advanced techniques (e.g. circle-shaped text, interesting colors and shading, etc....). + +clock_filter = "-density 100 -font `fc-match -f '%{file[0]}' '%CLOCK_FONT_NAME'` -pointsize %CLOCK_FONT_SIZE -gravity SouthEast -fill '#00000044' -annotate 0x0+[%HOFFSET+58]+[%VOFFSET+108] '%H:%M' -fill white -annotate 0x0+[%HOFFSET+60]+[%VOFFSET+110] '%H:%M' -font `fc-match -f '%{file[0]}' '%DATE_FONT_NAME'` -pointsize %DATE_FONT_SIZE -fill '#00000044' -annotate 0x0+[%HOFFSET+58]+[%VOFFSET+58] '%A, %B %d' -fill white -annotate 0x0+[%HOFFSET+60]+[%VOFFSET+60] '%A, %B %d'" + +# Quotes settings +# quotes_enabled = +# quotes_font = , default is "Serif 30" +# quotes_text_color = , default is 255 255 255 +# quotes_bg_color = , default is 80 80 80 +# quotes_bg_opacity = <0-100>, default is 55 +# quotes_width = <0-100>, default is 70 +# quotes_hpos = <0-100>, default is 100 +# quotes_vpos = <0-100>, default is 40 +# quotes_max_length = a positive integer, quotes above this length will not be displayed +# (as they often won't fit well on screen) +# quotes_text_shadow = , default is False +# quotes_disabled_sources = <|-separated list of disabled quote plugin names>, default is "Urban Dictionary" +# quotes_tags = , default is empty +# quotes_authors = , default is empty +# quotes_change_enabled = +# quotes_change_interval = , default is 300 +quotes_enabled = True +quotes_font = Serif Italic 30 +quotes_text_color = 255 255 255 +quotes_bg_color = 80 80 80 +quotes_bg_opacity = 55 +quotes_text_shadow = False +quotes_width = 70 +quotes_hpos = 100 +quotes_vpos = 40 +quotes_max_length = 4096 +quotes_disabled_sources = Goodreads|Local text files|TheQuotationsPage.com|UNIX fortune program|Urban Dictionary +quotes_tags = LSB +quotes_authors = "" +quotes_change_enabled = False +quotes_change_interval = 86400 +quotes_favorites_file = ~/.config/variety/favorite_quotes.txt +quotes_favorites_format = fortune + +# Slideshow settings +slideshow_favorites_enabled = True +slideshow_sources_enabled = True +slideshow_downloads_enabled = False +slideshow_custom_enabled = False +slideshow_custom_folder = ~/Pictures +slideshow_sort_order = Random +slideshow_monitor = All +slideshow_mode = Desktop +slideshow_seconds = 6.0 +slideshow_fade = 0.4 +slideshow_zoom = 0.2 +slideshow_pan = 0.05 + +# List of sources +# Each source is srcX = +# location depends on type - path or url or search options, or just a name for unconfigurable sources +# Folders are included recursively +# BE CAREFUL: all keys below (src1, src2, etc.) MUST be different +[sources] +src1 = True|favorites|The Favorites folder +src2 = True|fetched|The Fetched folder +src3 = True|folder|/usr/share/backgrounds +src4 = False|flickr|user:www.flickr.com/photos/peter-levi/;user_id:93647178@N00; +src5 = True|apod|NASA's Astronomy Picture of the Day +src6 = False|bing|Bing Photo of the Day +src7 = True|earthview|Google Earth View Wallpapers +src8 = False|natgeo|National Geographic's photo of the day +src9 = False|unsplash|High-resolution photos from Unsplash.com + +# Image filters to apply randomly to every wallpaper (ImageMagick is used for this) +# Each filter is filterX = +# BE CAREFUL: all keys below (filter1, filter2, etc.) MUST be different +[filters] +filter1 = False|Keep original| +filter2 = False|Grayscale|-type Grayscale +filter3 = False|Heavy blur|-scale 20% -blur 0x10 -resize 500% +filter4 = False|Soft blur|-scale 20% -blur 0x2 -resize 500% +filter5 = False|Oil painting|-paint 8 +filter6 = False|Pointilism|-spread 10 -noise 3 +filter7 = False|Pixellate|-scale 3% -scale 3333%