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
|
3 years ago | |
---|---|---|
.drone.yml | 3 years ago | |
.gitignore | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 3 years ago | |
go.mod | 3 years ago | |
go.sum | 3 years ago | |
main.go | 3 years ago | |
types.go | 3 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