https://github.com/awan/gowall
A wallpaper program written in Go...
https://github.com/awan/gowall
automation go golang linux openbsd ricing wallpaper
Last synced: about 2 months ago
JSON representation
A wallpaper program written in Go...
- Host: GitHub
- URL: https://github.com/awan/gowall
- Owner: Awan
- License: isc
- Created: 2023-03-18T23:54:56.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-19T00:37:51.000Z (about 3 years ago)
- Last Synced: 2025-05-31T20:34:13.920Z (10 months ago)
- Topics: automation, go, golang, linux, openbsd, ricing, wallpaper
- Language: Go
- Homepage: https://abdullah.solutions
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Go Wall
A simple program which sets random wallpaper from some images directory.
#### Dependencies
This program uses `feh` to set wallpapers.
#### Installation
- Clone this repository and build it.
```bash
git clone https://github.com/Awan/gowall.git
cd gowall
go build wallpaper.go
mv wallpaper ~/.local/bin/
```
Or
- Get the built one binary [here](https://github.com/Awan/gowall/releases/download/v1.0.0/wallpaper.binary).
#### Usage
Pretty simple.
```bash
wallpaper ~/Images 30
```
It will get a random image from `~/Images` directory and set it as wallpaper and
will do the same thing after 30 seconds.
If you don't pass the time duration, it will just set a random wallpaper and
exits.
You can put this line in your `~/.xinitrc` or `~/.xprofile` to automate the
boring stuff of setting wallpapers.
```bash
...
~/.local/bin/wallpaper ~/Images 600 &
```