From 8df4cd83b2c8c9d20bab12bcbd773eed966cbd24 Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Mon, 13 Jan 2025 01:44:46 +0100 Subject: [PATCH] jgwallpaperchanger --- usr/bin/jgwallpaperchanger | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr/bin/jgwallpaperchanger b/usr/bin/jgwallpaperchanger index 0081319..0af697e 100755 --- a/usr/bin/jgwallpaperchanger +++ b/usr/bin/jgwallpaperchanger @@ -46,8 +46,8 @@ CNF_FILE="$HOME/.config/mabox/wallp_dirs.conf" if [ ! -f $CNF_FILE ]; then cat < ${CNF_FILE} # User wallpapers directories - one per line -# Used by "Choose wallpaper" PCmanFM wrapper -# Set wallpapers using context (right click) menu in file manager +# Used by "Random", "Choose wallpaper" PCmanFM wrapper, "Slideshow", Preview and set" utils +# From File Manager set wallpapers using context (right click) menu ~/wallpapers/ EOF fi @@ -207,7 +207,7 @@ esac help="\nBased on idea of Mabox forum member Shwaybo.\n\nchange wallpapers from a directory, never using the same picture twice until all the pictures have been shown, and rotating x number of seconds (configurable) before the next wallpaper change.\n" out+=("^sep($_WALLPAPERS)") -[[ "$1" == "-s" || "$1" == "ipc" ]] && : || out+=("^sep($_WALLPAPERS)") +[[ "$1" == "-s" || "$1" == "ipc" || "$1" == "-d" ]] && : || out+=("^sep($_WALLPAPERS)") if ! pgrep -f "mbwallpaper -s" > /dev/null; then #out+=("$NITROGEN,nitrogen") out+=(" $_RANDWALL,mbwallpaper -o;$me") @@ -549,5 +549,5 @@ printf '%s\n' "${out2[@]}" case "$1" in lclick) lclick;; - *) time main "$@";; + *) main "$@";; esac