batti 🔗
load-shedding information.
batti Copyright © 2013 to the batti Authors.
batti depends upon 2utf8 to process non-unicode data, which is now included in git sub-module.
$ git clone https://github.com/foss-np/batti
$ cd batti
$ git submodule init
$ git submodule updateTip: Add alias batti="/path/to/batti/main.sh" to your .bashrc so you can run $ batti -g [GROUP_NO]
Usage: batti -g [1-7] [OPTIONS]
-a | --all Show All [default]
-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]
-s | --sparrow Check for update from loadshedding.sparrowsms.com
-x | --xml Dump to xml
-h | --help Display this messageTip: Put alias nea="batti -g YourGroupNumber -t" in your .bashrc so that you can simply get todays schedule for your group by typing nea.
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]The applet for unity is made by the samundra as Nepal-Loadshedding-Indicator
Conky🔗
This plugin makes use of conky only. You can enable this plugin via
$./conky_independent.sh -g 7 -m 1- Downloads schedule form nea
- Extract schedule and put into
~/.cache/batti.sch - Processes your query

