Commit Graph

1849 Commits

Author SHA1 Message Date
enkore
1d4403e308 Let's remove that synchronous functionality alltogether.
It simply isn't in the spirit of this app :-)
And nobody uses it.
2013-02-18 18:00:16 +01:00
Jan Oliver Oelerich
8e5231b56e Merge pull request #5 from enkore/master
Refactored IO
2013-02-17 05:30:07 -08:00
enkore
84fdbfaff3 Using a context here is much... smoother
exploited_language_features += 2;

(I also exploit the mutability of the list-object here,
yield j binds the list to the context,
when the context is leaved execution continues and the
modified j is written back)
2013-02-17 14:02:55 +01:00
enkore
797333e7ac Added some magic to JSONIO 2013-02-17 13:57:22 +01:00
enkore
60b5def7d9 Splitted IO handling even a bit more :-) 2013-02-17 01:25:41 +01:00
enkore
ab5afd0227 Moved IO handling out of main class
(for reusability; I use that piece of code now elsewhere
and want to keep that easily in sync)
2013-02-17 01:19:04 +01:00
enkore
973abc928e Support for external file descriptors.
Allows to run i3status directly from your __main__, like this:

    status.register(...) # and so on

    process = subprocess.Popen("i3status", stdout=subprocess.PIPE)
    status.fd = process.stdout

    # start the handler
    status.run()
2013-02-17 00:55:25 +01:00
Jan Oliver Oelerich
1548209222 Merge pull request #4 from enkore/py3k
Py3k
2013-02-15 15:53:29 -08:00
enkore
7e2c61c21a mailchecker ; didn't really test it yet 2013-02-15 21:14:39 +01:00
enkore
c4e80b3e40 notmuch^2 2013-02-15 21:09:54 +01:00
enkore
c93503704b Changed modsde 2013-02-15 21:08:29 +01:00
enkore
2c7b0fcef9 Added yet another module type, fixed notmuch module
(Yeah, I'm really lazy today)
2013-02-15 21:06:52 +01:00
enkore
59ab38d83b Readme 2013-02-15 18:43:20 +01:00
enkore
8ec1972a3e Replaced conditionals with polymorphism 2013-02-15 18:38:50 +01:00
enkore
561e60efee Consistent quotes 2013-02-15 18:38:18 +01:00
enkore
922ae49aba Create package i3pystatus 2013-02-12 01:07:26 +01:00
enkore
469f711dcd .gitignore 2013-02-11 21:43:11 +01:00
enkore
54c14658bc Common code elimination run 2013-02-11 21:37:07 +01:00
enkore
4c45087a5b ... 2013-02-11 21:25:21 +01:00
enkore
484cfbbf03 Format settings 2013-02-11 21:25:14 +01:00
enkore
2c97a67494 Readme 2013-02-11 21:24:58 +01:00
enkore
807eb937fd ... 2013-02-11 21:09:53 +01:00
enkore
db94df07a3 With small changes, comes great change
Introduced asynchronous plugins that gather their data on different
intervals than the mainloop. Here it is used for the modsde plugin.

The statushandler has a new class Module, which acts as documentation
for the API


These changes let the output evenly flow, even if an async plugin hangs
due to network problems or similiar issues.
2013-02-11 21:01:38 +01:00
enkore
80d7184e14 Merge branch 'master' of github.com:enkore/i3pystatus
Conflicts:
	statushandler.py
2013-02-11 17:25:58 +01:00
enkore
cb71fca25d Also import the tb plugin 2013-02-11 17:21:32 +01:00
enkore
a5db47fcf8 Python 3 2013-02-11 16:03:52 +01:00
enkore
71c64b2c26 As far as I can tell that IP address is down
(both ping and nmap -Pn confirm this)
2013-02-11 15:52:52 +01:00
enkore
45f9ba3c66 Update statushandler.py 2013-02-11 13:06:12 +01:00
enkore
56c93ac0de Update modsde.py 2013-02-11 13:05:55 +01:00
Jan Oliver Oelerich
944613de3a added thunderbird new mail checker. 2012-11-17 12:39:41 +01:00
Jan Oliver Oelerich
68ceafe969 Merge pull request #3 from Simonft/master
Added notmuch mail support
2012-10-18 00:14:01 -07:00
Simon
e279f8e2bf remove settings variable 2012-10-17 17:41:33 -05:00
Simon
814f365fbe remove extraneous comma 2012-10-17 17:31:54 -05:00
Simon
61be416429 make class comment more clear 2012-10-17 17:30:06 -05:00
Simon
942a8635a0 remove the servers array, there is no need for it 2012-10-17 17:27:42 -05:00
Simon
73107ec873 remove unneeded imports 2012-10-17 17:27:03 -05:00
Simon
602da44765 Remove TODO, found a better way 2012-10-17 17:25:35 -05:00
Simon
1009901e3b import notmuchmailchecker file 2012-10-17 17:25:01 -05:00
Simon
d2643dad6d add exampe for NotmuchMailChecker 2012-10-17 17:24:03 -05:00
Jan Oliver Oelerich
c40ae4c41b extended readme 2012-10-17 08:31:10 +02:00
Jan Oliver Oelerich
76d12a17ae extended readme 2012-10-17 08:29:31 +02:00
Jan Oliver Oelerich
3732e488f3 added license, see issue #2 2012-10-17 08:16:08 +02:00
Jan Oliver Oelerich
72456c996a readme 2012-10-12 17:26:30 +02:00
Jan Oliver Oelerich
a1f61536cc moved wrapper.py to wrapper.py.dist 2012-10-12 17:24:58 +02:00
Jan Oliver Oelerich
540f3861ca mail checker does not fail anymore, when internet connection is missing 2012-10-12 10:41:42 +02:00
Jan Oliver Oelerich
2bf94b6d82 Merge pull request #1 from PhilipDexter/master
That's the spirit!
2012-10-10 23:56:25 -07:00
Philip Dexter
672caadc77 changed emails to email when only 1 unread 2012-10-10 23:58:06 -04:00
Jan Oliver Oelerich
3cf43687eb modsde module 2012-10-10 17:51:58 +02:00
Jan Oliver Oelerich
cf16d57e11 initial 2012-10-10 16:27:08 +02:00