You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Gregory Rudolph e67fb8275c
Trying to appease drone
3 years ago
.drone.yml Trying to appease drone 3 years ago
.gitignore Initial Commit 3 years ago
LICENSE Add License 3 years ago
README.md Add README.md 3 years ago
go.mod Initial Commit 3 years ago
go.sum Initial Commit 3 years ago
main.go Add API key for drone automated builds 3 years ago
types.go Initial Commit 3 years ago

README.md

SpaceFace

Automatically set a user's wallpaper to NASA's Astronomy Picture Of the Day

Badges

GPLv3 License Build Status Go Report Card Documentation

Acknowledgements

Installation

The easiest way to install SpaceFace would be the AUR Package. To build manually, these steps are executed:

  go build
  ./SpaceFace

This will set your current wallpaper to the NASA APOD. If the path /usr/share/backgrounds/spaceface exists, then SpaceFace will also download the APOD to /usr/share/backgrounds/spaceface/lock.jpg for setting the lock screen. (Automatic setting of lock screen not yet implemented)

Deployment

To deploy this project on linux run

  sudo mkdir /usr/share/backgrounds/spaceface
  sudo chown $USER /usr/share/backgrounds/spaceface
  sudo mv SpaceFace /usr/local/bin/
  sudo chmod +x /usr/local/bin/SpaceFace
  /usr/local/bin/SpaceFace

And then set your ~/.config/kscreenlockerrc to contain:

[Greeter]
WallpaperPlugin=org.kde.image

[Greeter][Wallpaper][org.kde.image][General]
Image=/usr/share/backgrounds/spaceface/lock.jpg