No Description
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.
Johannes Findeisen 02650c5811 some .c file header update 10 months ago
.gitignore .gitignore update and bin removed 10 months ago
Makefile added nonotify to Makefile and updated docs 10 months ago
README.md added nonotify to Makefile and updated docs 10 months ago
pesthoernchen.h initial commt... copied all stuff from ccchh/dooris... 10 months ago
spaceapi-gtk.c some .c file header update 10 months ago

README.md

SpaceAPI-GTK

A panel Applet using GTK2 for showing the Status of a Hackerspace. Compatible with the SpaceAPI version 0.13.

Original source: https://github.com/ccchh/dooris-gtk (I moved to $HOME from $CCCHH… ;))

Installation:

Requirements:

  • Standard tools like gcc, pkg-config etc.
  • curl
  • gtk+-2.0
  • json-c
  • libnotify - Only needed when compiling with libnotify support.

Use the following command for getting the sources:

git clone https://github.com/hanez/SpaceAPI-GTK.git

Change into the new directory:

cd SpaceAPI-GTK

To compile the sources just run:

make

This will compile dooris with libnotify support.

If you don’t want notifications run the following command:

make nonotify

Installation

Just copy “spaceapi-gtk” to a folder in your $PATH. I do:

cp ./spaceapi-gtk ~/bin/

You can copy the file to /usr/bin to make it available to all users but I don’t. If you want that just run:

sudo cp ./spaceapi-gtk /usr/bin/

Configuration:

Configuration needs to be done before compiling. There are some parameters you can set in the head of the spaceapi-gtk.c file where variables are declared. A configuration file will at this point make no sense.

Usage:

Run spaceapi-gtk with:

./spaceapi-gtk & 

Or if in your $PATH:

spaceapi-gtk

Status Icon “Pesthörnchen” colors:

  • Red = Door closed
  • Yellow = Door open