kolbyjack / MMM-Wallpaper

MagicMirror module to display wallpapers from various online sources
https://magicmirror.builders/
MIT License
99 stars 31 forks source link

caption set to false does not remove file name from bottom right corner #95

Closed bma-diy closed 9 months ago

bma-diy commented 9 months ago

{ module: "MMM-Wallpaper", position: "fullscreen_below", config: { source: ["local:/home/pi/Pictures"], crossfade: false, //filter: "grayscale(0.5) brightness(0.4)", filter: "grayscale(0.25) brightness(0.5)", size: "cover", caption: "false", slideInterval: 3 60 1000 //orientation: "vertical", //maximumEntries: 10, }

kolbyjack commented 9 months ago

javascript is really weird, "false" is a string that is "truthy", while false is a boolean value that is false. Remove the quotes and the caption should disappear.

bma-diy commented 9 months ago

Thank you!! I knew I was missing something basic.

On Thu, Sep 14, 2023 at 11:07 AM Jon Kolb @.***> wrote:

javascript is really weird, "false" is a string that is "truthy", while false is a boolean value that is false. Remove the quotes and the caption should disappear.

— Reply to this email directly, view it on GitHub https://github.com/kolbyjack/MMM-Wallpaper/issues/95#issuecomment-1719741094, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKIOE5EBSFGAGV322XYHLLTX2MTSRANCNFSM6AAAAAA4YLUXDY . You are receiving this because you authored the thread.Message ID: @.***>