Git Product home page Git Product logo

xigor's Introduction

Synopsis

xigor aims to be a little tool like xbiff was in the old days. It just sits there as a user defined icon in the systray area of your favorite desktop environment and as soon as a user definable trigger file is changed/touched, the icon changes to another user definable icon. as soon as the icon is clicked with the left mousebutton, it will be reset to the original icon and waits for the next change/touch of the triggerfile. A click with any other mousebutton will remove the icon.and terminate the application.

Xigor utilizes the orignal X11 pixmaps that xbiff was using as a default. You can specify other files on the command line. Xigor understands all file formats that GTK+3 can read.

Xigor can be used as a mail notification or any other sort of flagging style info There can be as many instances as you like.

Directly after the startup of the program, it dumps its PID to stdout and detaches itself, so you can script around with it very easily.

Usage

$ xigor -h

usage: xigor [options]
        -h              print this usage and exit
        -d              delay between checks for changes of the trigger file
        -D              do not detach and print some debug output to stdout
        -m              path to the monitorfile (default: ~/.xigor-trigger)
        -s              path to the normal systray icon file
        -a              path to the flagged systray icon file
        -e              path to the error systray icon file

spawns a flagging icon that displays the icon specified by -s in your desktop environments systray area. This icon will be changed into the one specified by -a, as soon as the file specified by -m is changed/touched. The icon specified by -e is used if the monitor file is not existing or cannot be examined by stat(). Detaches immediately after start and outputs the PID of the detached process on sdtdout before doing so.

Installation

just using make will compile everything. Make sure that you have GTK+3 installed.

License

Copyright (C) 2017 Thomas Thiel

This program comes with ABSOLUTELY NO WARRANTY; This is free software, and you are welcome to redistribute it within the terms of the MIT/X11 License as stated in the LICENSE file.

The included XPM filex were converted from the original xbm files included with X11 and are subject to the MIT/X11 license and their respective creators (whose names I did not find to credit duely). I included these files in the hope that I may do so in the spirit of FOSS.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.