An open API service indexing awesome lists of open source software.

https://github.com/gcclinux/unscreensaver

Linux screensaver that downloads images from unsplash.com
https://github.com/gcclinux/unscreensaver

screensaver

Last synced: 5 months ago
JSON representation

Linux screensaver that downloads images from unsplash.com

Awesome Lists containing this project

README

          

# Unscreensaver

Unsplash API Screensaver for Linux


- Dependancies Unsplash API FREE account - [Unsplash](https://unsplash.com/)



### System Dependancies
```
# Debian
$ sudo apt-get install libsfml-dev yaml-cpp-devel libexiv2-dev libcurl4-openssl-dev nlohmann-json3-dev

# Fedora
$ sudo dnf install SFML yaml-cpp-devel exiv2 exiv2-devel libcurl-devel nlohmann-json-devel

# ArchLinux
$ sudo pacman -S sfml yaml-cpp exiv2 curl nlohmann-json
```

### Compile or build unscreensaver
```
# Compile manually
$ g++ -o unscreensaver *.cpp -I./include -I/usr/include/nlohmann -lsfml-graphics -lsfml-window -lsfml-system -lyaml-cpp -lexiv2 -lcurl

# Alternative build:
$ make

# Clean build:
$ make clean
```
### Targeted executing options
```
./unscreensaver # Black background (default)
./unscreensaver --help # CLI Display help info on command
./unscreensaver --setup # Create / Update config.yml
./unscreensaver --colour Black # Black background
./unscreensaver --color Black # The same as --colour

Press ESC or "Q" to exit the Unscreensaver
```
#### ScreenSaver setup example:
Unscreensaver

#### ScreenSaver running example:
Unscreensaver