minor change
This commit is contained in:
parent
742d138bf6
commit
ca92426bec
|
@ -22,7 +22,7 @@ SWAL_DEFAULT_CONFIG()
|
||||||
SWAL_USE_WAL=true # Whether or not to use Pywal if possible (true/false)
|
SWAL_USE_WAL=true # Whether or not to use Pywal if possible (true/false)
|
||||||
SWAL_RANDOMIZE=false # Select a random wallpaper on login
|
SWAL_RANDOMIZE=false # Select a random wallpaper on login
|
||||||
SWAL_USE_IMAGE=false # Have image support
|
SWAL_USE_IMAGE=false # Have image support
|
||||||
SWAL_IMAGE_SIZE="200" # Image size
|
SWAL_IMAGE_SIZE="500" # Image size
|
||||||
}
|
}
|
||||||
|
|
||||||
# Create the configuration
|
# Create the configuration
|
||||||
|
@ -145,12 +145,13 @@ SWAL_SELWALLPAPER()
|
||||||
|
|
||||||
if [ "$SWAL_USE_IMAGE" = "true" ]; then
|
if [ "$SWAL_USE_IMAGE" = "true" ]; then
|
||||||
IMG_ARG="-gc -is"
|
IMG_ARG="-gc -is"
|
||||||
|
IMG_ARG_2="-mc"
|
||||||
else
|
else
|
||||||
SWAL_IMAGE_SIZE=""
|
SWAL_IMAGE_SIZE=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$ARG1" = "" ]; then
|
if [ "$ARG1" = "" ]; then
|
||||||
SWAL_SELWALLPAPER="$(printf "$(LIST_IMG)\n------\n..\nPreview\nPrevious\nRandom\nFavorites\nAdd used wallpaper to favorites\nOptions\nHelp\nExit" | $RUNLAUNCHER -g 1 -l 100 -p "What wallpaper would you like to set?" $IMG_ARG $SWAL_IMAGE_SIZE)"
|
SWAL_SELWALLPAPER="$(printf "$(LIST_IMG)\n------\n..\nPreview\nPrevious\nRandom\nFavorites\nAdd used wallpaper to favorites\nOptions\nHelp\nExit" | $RUNLAUNCHER -g 1 -l 100 -p "What wallpaper would you like to set?" $IMG_ARG $SWAL_IMAGE_SIZE $IMG_ARG_2 $SWAL_IMAGE_SIZE)"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue