Created
January 30, 2015 17:52
-
-
Save mikeyjk/cea3d082fa2b7946a048 to your computer and use it in GitHub Desktop.
Change Android Wallpaper On Display On (requires root access and Tasker application)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var images = listFiles($folder, false).split("\n"); | |
var select = Math.floor(Math.random() * (images.length)); | |
setWallpaper(images[select]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name: | |
%folder | |
To: | |
Pictures/Piktures/mysweetgoya/ | |
(We want to set %folder to the directory containing all the wallpapers) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On Event 'Display On'.
Source: http://tasker.wikidot.com/wallpaperswitcher