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.
|
|
4 years ago | |
|---|---|---|
| .drone.yml | 4 years ago | |
| .gitignore | 4 years ago | |
| LICENSE | 4 years ago | |
| README.md | 4 years ago | |
| go.mod | 4 years ago | |
| go.sum | 4 years ago | |
| main.go | 4 years ago | |
| types.go | 4 years ago | |
README.md
SpaceFace
Automatically set a user's wallpaper to NASA's Astronomy Picture Of the Day
Badges
Acknowledgements
- reujab/wallpaper
- Download a file using Go
- Checking if directory exists in Go
- JSON to Go tool
- {NASA APIs}
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