Skip to content

ioefoss/batti

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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%