ファイルへ移動
Bandie d516f05a10
Travis-Fix™
2018-04-04 15:37:03 +02:00
src Closes #2 2018-04-02 02:38:27 +02:00
systemd Init commit 2018-03-18 20:28:10 +01:00
.travis.yml Travis-Fix™ 2018-04-04 15:37:03 +02:00
LICENSE Init commit 2018-03-18 20:28:10 +01:00
Makefile Text™ 2018-04-04 15:29:59 +02:00
README.md Travis CI 2018-03-29 05:06:17 +02:00

README.md

notify_touchy Build Status

Purpose

A fork of i3status_touchy. A service which checks the return code of a program/script and notifies you if it has a bad return code. In i3status-touchy there will be a file created. This doesn't happen here anymore. Instead it uses libnotify.

Installation

You need gcc or something similar. There is a not finished systemd servicefile included. To compile and install it you may want to do the following within this project directory:

make
sudo make install

Syntax

notify_touchy ( arguments )

It checks if a program has a specific return code within some time. If it has not a notification will appear.

Arguments:

-h, --help                         Shows this here.
-p, --program [program or script]  Executes and checks this program for the return code. (Required)
-r, --return [return code]         Listen to this return code. (Default: 0)
-s, --sleep [seconds]              Interval of when the next check should start. (Default: 20)
-v, --verbose                      Show some unnecessary stuff.

notify_touchy --help will tell you the same btw.