Skip to content

ksh-b/wanda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wanda

Script to set wallpaper using keyword or randomly

PyPI PyPI - Downloads PyPI - License

Installation / Update

pip install wanda -U

On android (with termux): Install termux-api

pkg up
pkg in clang pkg-config libxml2 libxslt libjpeg-turbo termux-api python
pip install cython lxml==5.0.0
pip install wanda -U

For issues installing pillow refer this document

Usage

# Set randomly (uses picsum)
wanda

# Set from a keyword (uses picsum)
wanda -t mountain

# Set from a source
wanda -s wallhaven

# Set from a source with keyword
wanda -s wallhaven -t japan

# Use shortcode for source (w=wallhaven)
# For other shortcodes for other sources, check 'wanda -u'
wanda -s w -t japan

# Set album covers (m=musicbrainz)
# album cover would be square, so use -f to fit it to screen
# format for query with musicbrainz is 'artist-album'
wanda -s m -t "Meltt-Love Again" -f

# Set from folder (l=local)
wanda -s l -t "/path/to/wallpapers" 

wanda -h for more details

Notes

  • By default, the source is picsum.
  • Some sources may have inapt images. Use them at your own risk.

Supported sources

Build

python and poetry are needed

git clone https://github.com/ksh-b/wanda.git
cd wanda
poetry install
poetry build
poetry run wanda

Uninstall

pip uninstall wanda

License

MIT