https://github.com/subashz/nepal-loadshedding-schedule
Dirty scripts for displaying Loadshedding Schedule
https://github.com/subashz/nepal-loadshedding-schedule
Last synced: 2 months ago
JSON representation
Dirty scripts for displaying Loadshedding Schedule
- Host: GitHub
- URL: https://github.com/subashz/nepal-loadshedding-schedule
- Owner: subashz
- Created: 2016-06-22T14:36:44.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-26T08:02:17.000Z (almost 9 years ago)
- Last Synced: 2025-01-20T06:21:50.535Z (4 months ago)
- Language: Shell
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.

When used with the lemonbar and as conky:

Weekly view with current status indicated by color

## 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 = 7Examples:
`./load -t 4 `
