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
- Host: GitHub
- URL: https://github.com/gcclinux/unscreensaver
- Owner: gcclinux
- License: mit
- Created: 2025-01-26T14:08:52.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-26T14:29:25.000Z (about 1 year ago)
- Last Synced: 2025-01-26T15:27:08.630Z (about 1 year ago)
- Topics: screensaver
- Language: C++
- Homepage:
- Size: 2.33 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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:
#### ScreenSaver running example: