You are not logged in.
Pages: 1
I wrote a script to display the unread manga count in conky
and thought sharing it with you (for people who read manga)
The Script checks only the site mangareader.net for now.
The Script maintains a mangaList.txt file there all read mangas are saved in 2 columns.
First column is manga name (how it is written in the websites url link).
Second column describes the read count.
Last edited by Divakarsd (2011-10-27 19:01:58)
Offline
Offline
@sunfizz98
how do you download the mangas? I use this.
@divakarsd
can you show your conky+script in action? its a nice idea which i might be able to combine with my script. (mind if I make some code suggestions?)
luc
Offline
usage/help from Script:
usage: '"$0"' Options
#######################
Options:
-h prints this help
-f read from cache
-k update cache in background if -f option is given
-p print in human readable format
-c print the the amount of new mangas
-s prints the amount of new mangas in symbols
-m generates openbox menu
-u manga update manga list with the specific manga, or
updates all if \"all\" is given as argument
-l file specify manga list file
-a file specify cache file
-g generate a example mangaList.txt file
-b browser use specified command to open site
-j manga open the spezified manga in browser and marks as
read, needs -n option too
-n number open the spezified manga chapter in browser and
marks as read, needs -b option too
#######################
Example:
Terminal:
'"$0"' -p
Conky:
${execi 30 '"$0"' -f -k -p}
Openbox menu:
<menu execute="'"$0"' -f -m " id="mangaReader" label="Mangareader.net"/>Screenshots:
Desktop pc:
Conky configuration:
https://bbs.archlinux.org/viewtopic.php … 0#p1002080
Eee pc:
Manga cheker openbox pipe menu:
Clicking on the menu entry opens the page in browser (variable in Script) + updates mangaList.txt reading count
I usually read the manga in the browser with AutoPager.
You dont need to be registered to use this script.
(Your reading list is kept on the pc and only you know about it)
License is GPL v3 (forgot to add to the source code)
Feel free to make any modifications you like
Last edited by Divakarsd (2011-10-27 09:30:52)
Offline
So it counts only mangas called via the shell entry. I see.
I'm so meta, even this acronym
Offline
it also shows (if needed) for with manga there is a update available (-p Option).
Example
run: $ ./mangaReader.sh -p
output: naruto 560 -> 561
Output means:
A update for Naruto is available.
560 was last read chapter
561 is new unread chapter
Conky is used to know then a update is available ( using a send-notify would be to disruptive)
Clicking on the "naruto 560 -> 561" Menu entry in openbox:
1. Opens "http://www.mangareader.net/naruto/561" in Firefox (another browser can be set with -b Option)
2. Changes the read count 560 to 561 in the file mangaList.txt. So next time then the script is run naruto wount be listet.
Last edited by Divakarsd (2011-10-27 13:08:40)
Offline
Offline
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.