Simply prints data and stats from various sources. Most useful as input program to xscreensavers that simply takes some text and displays it.
License
orithena/infotext
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
- Open with GitHub Desktop
- Download ZIP
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
infotext.py =========== Simply prints data and stats from various sources. Most useful as input program to xscreensavers that simply takes some text and displays it. Currently implemented: * MPD playing status * OpenWeatherMap weather data and forecast * System stats: Local time, date, cpuload, load average, memory info Written specifically for RaspberryPi, but useable on other systems too. Usage: ------ Edit the configuration variables below to suit your needs. You may want to apply for an app key (APPID) at http://openweathermap.org. Then configure xscreensaver to use any text-displaying screensaver (e.g. Phosphor, Apple2, StarWars, ...). Then, in the xscreensavers configuration dialog's advanced tab, configure this program as text source. Raspbian package dependencies: ------------------------------ python python-mpd xscreensaver xscreensaver-data xscreensaver-data-extra Optional GL screensavers (slow on a raspi!): -------------------------------------------- xscreensaver-gl xscreensaver-gl-extra libgl1-mesa-swx11 Example output: --------------- [mpd playing #75/102 00:05/04:03 2%] rock'n'roll hall of fame pornophonique 8-bit lagerfeuer [openweather 12°C broken clouds] 11°C < T < 15°C rain 0mm hum 54% wind 6.3m/s SSE 164° sat 14/21°C Rain sun 14/18°C Clouds [03:54 04.10.13 cpu 71.5% load 1.06] [mem 448776 free 10944 cache 302504] Photos of the screensaver in action: ------------------------------------ * StarWars: http://pic.twitter.com/QrB1CSWRoc * Phosphor: http://pic.twitter.com/m5BqTuy69B
About
Simply prints data and stats from various sources. Most useful as input program to xscreensavers that simply takes some text and displays it.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published