Skip to content

ioefoss/batti

This branch is 19 commits behind foss-np/batti:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

75168a3 · Jan 31, 2015

History

82 Commits
Jan 24, 2015
Jan 28, 2015
Jan 18, 2015
Jan 28, 2015
Oct 5, 2013
Jan 31, 2015
Jan 28, 2015
Jan 24, 2015
Jan 18, 2015
Jan 29, 2015

Repository files navigation

batti 🔗

load-shedding information.

screenshot

Creative Commons Attribution 3.0 Unported License

batti Copyright © 2013 to the batti Authors.


Setting up

Dependencies
  • poppler-utils for pdftotext
  • 2utf8 included in git sub-module.
  • sed, don't the BSD-sed (OS X install GNU sed)
  • wget

configure will check the dependencies

Install
    $ git clone --recursive https://github.com/fosspulchowk/batti
    $ cd batti
    $ ./configure
    $ sudo make install    

Tip: see make recipies

HOW-TO USE

$ batti -h
Usage:  batti [OPTIONS] [GROUP_NO]
        -a | --all      Show All [force]
        -g | --group    Group number 1-7
        -t | --today    Show today's schedule [uses with group no]
        -w | --week     Show week's schedule
        -u | --update   Check for update [ignores extra options]
        -x | --xml      Dump to xml
        -c | --credits	Display the Credits
        -h | --help     Display this message

Plugin & Extension

Python tkinter GUI wrapper.

The applet for unity is made by the samundra as Nepal-Loadshedding-Indicator

To add plugin to conky-forever after installation run do the following.

	$ echo "_conky_forever=/path/to/conky-forever" >> path.config
	$ ./conky_plugin.sh [GROUP_NO]

This plugin makes use of conky only. You can enable this plugin via

	$./conky_independent.sh -g 7 -m 1

HOW-IT Works

  • Downloads schedule form nea
  • Extract schedule and put into ~/.cache/batti.sch
  • Processes your query

Similar works on github we found!

About

load-shedding schedule for terminal!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 81.7%
  • Makefile 18.3%