blob: b8c09954b10b858360884db4ae38d7d6c3509f0c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Smart-Wallpaper
A simple bash script that automatically changes your wallpaper depending on if its daytime or nighttime (helps your eyes).
## Getting Started
You can either clone the repository and run the script or if you are running Arch or derivatives get it from the AUR (https://aur.archlinux.org/packages/smart-wallpaper-git/).
### Dependencies
Required: redshift - determining if its day/night in your location.
feh - setting the wallpaper.
bash
Optional: gifsicle - animated wallpaper support
### Usage
Usage: smart-wallpaper [FLAG]<br />
Flags:<br />
[-d]: NEEDED : daytime wallpaper file/folder<br />
[-n]: NEEDED : nighttime wallpaper file/folder<br />
[-l]: OPTIONAL : manual location (lat:long), if not added geoclue gets the location (requires internet)<br />
[-h]: OPTIONAL : print help message
Example:
```
smart-wallpaper -d /home/user/Wallpapers/DayWallpaperFolder -n /home/user/Wallpapers/NightWallpaperFolder -l 0:0
```
## Contributing
Feel free to submit pull requests to clean up the code/adding new features. Thank you!
## Author
* **Baitinq** - *Whole script* - (https://github.com/Baitinq)
## License
This project is licensed under the GPL License.
## Acknowledgments
* Stackoverflow me like
|