https://github.com/dylex/xbg
weather- and time-dependent sky background image generator
https://github.com/dylex/xbg
Last synced: over 1 year ago
JSON representation
weather- and time-dependent sky background image generator
- Host: GitHub
- URL: https://github.com/dylex/xbg
- Owner: dylex
- Created: 2011-11-14T20:34:28.000Z (over 14 years ago)
- Default Branch: main
- Last Pushed: 2023-02-25T22:16:11.000Z (over 3 years ago)
- Last Synced: 2025-01-23T19:14:35.629Z (over 1 year ago)
- Language: C
- Homepage:
- Size: 703 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
This is a gimp script and some supporting programs to generate an X background
image reflecting the current weather. It's not very well packaged at the
moment, so it takes a little to set up. It works on Linux and FreeBSD, but you
can probably get it to run on any *nix.
Requirements:
- gimp 2.2
- gcc
- fvwm-root, xv, or other program to set the X root image
- python with packages in requirements.txt
Instructions:
- Run make. It should build sunpos and install prism.ggr in
~/.gimp-2.2/gradients.
- Edit xbg.sh and set w, h, and displays to the width, height, and X11
display(s). (Multi-headed displays are assumed to be homogeneous.) Set
setroot to a program that can display an xpm on root.
- Create /etc/geopos or ~/.geopos with a single line containing your latitude
and longitude. E.g.: "40.7 -73.9". (You can get this from google maps if
you don't know them.)
- Run ./xbg.sh. If you just want to play, you can run ./xbg.sh -e to open the
image in gimp.
License: BSD
Author: Dylan Simon
https://dylex.net:9947/~dylan/src
Suggestions, improvements, patches, complaints welcome.