Skip to content

subashz/Nepal-Loadshedding-Schedule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Nepal LoadShedding Schedule[WIP]

This is a dirty script written in free time. This script just extract the schedule from the sites and prints the result in a desirable format. You can pipe the info to conky, dzen2, yabar or dunst. Choose your own color for any table elements.
Fully tested on Arch Linux

[Note]There's a lot of cleanup needed in this script.

loadshedding

When used with the lemonbar and as conky:

imgur-2016_06_23-16 02 09

Weekly view with current status indicated by color

weekly view

How to install:

  1. Clone the repo or download the zip
    git clone https://github.com/blacpythoz/Nepal-Loadshedding-Schedule.git
    OR
    wget https://codeload.github.com/blacpythoz/Nepal-Loadshedding-Schedule/zip/master

  2. Change the directory
    cd Nepal-Loadshedding-Schedule/

  3. Make the script executable
    chmod +x load

  4. Run the program first by update
    ./load -u

Manual

usage: load [OPTIONS] [GROUP_NO]

Info:
-a [default]        Show all schedule 
-g [group [1-7]]    Select the groups
-t [group no]       Show the today schedule
-w [group no]       Show the weekly schedule
-C [true/false]      Toogle the color options
-G [Color codes]    Sets the color of the side bar text 
-d [Color codes]    Sets the foreground color of day text
-D [Color codes]    Sets the background color of days
-B [Color codes]    Sets the background color of tables
-F [Color codes]    Sets the foreground color of tables
-S [Color codes]    Sets the Selected foreground color of tables
-U [true/false]    Sets the underline in the tables data
-h [topics]         Print this text and exit

[COLOR CODES] natural = natural black = 0 red = 1 green = 2 yellow = 3 blue = 4 magenta= 5 cyan = 6 white = 7

Examples:

./load -t 4
Daily views

About

Dirty scripts for displaying Loadshedding Schedule

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages