naueramant / simon-stalenhag-wallpaper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simon Stålenhag wallpaper scraper

I made this script for downloading Simon Stålenhag wallpapers from his website www.simonstalenhag.se and apply them as my wallpaper.

Personally i combined this script with a systemd timer to rotate the wallpaper every hour.

Requirements

  • python3
  • Gnome3 desktop or KDE Plasma 5

How to use

This will set the desktop wallpaper to a random image

python stalenhag.py

This will download all images on the website

python stalenhag.py all

This will start or stop the Systemd timer.

stalenhag timerstart
stalenhag timerstop

Manage favorite wallpapers

stalenhag save
stalenhag list
stalenhag listfav
stalenhag -f

stalenhag clear

Filter for specific wallpapers

stalenhag -filter [search_term]

Get help

stalenhag -h
stalenhag --help

systemd

An example of a systemd timer and service can be found in the systemd folder.

Install

For easy installation and removal you can use the scripts

# Install (prompts for root)
./install.sh

# Uninstall (prompts for root)
./uninstall.sh

Windows

Install as application on Windows.

# Install
python install_windows.py

# Uninstall
python install_windows.py -u

About


Languages

Language:Python 95.9%Language:Shell 4.1%