jgwallpaperchanger
This commit is contained in:
parent
e1a5953519
commit
8df4cd83b2
@ -46,8 +46,8 @@ CNF_FILE="$HOME/.config/mabox/wallp_dirs.conf"
|
||||
if [ ! -f $CNF_FILE ]; then
|
||||
cat <<EOF > ${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 <a href='https://forum.maboxlinux.org/t/chwp-desktop-wallpaper-changer/496'>idea</a> 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+=("<big></big> $_RANDWALL,mbwallpaper -o;$me")
|
||||
@ -549,5 +549,5 @@ printf '%s\n' "${out2[@]}"
|
||||
|
||||
case "$1" in
|
||||
lclick) lclick;;
|
||||
*) time main "$@";;
|
||||
*) main "$@";;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user