enkore
0ad4ae6a02
This isn't a program... this is a poem!
2013-02-18 18:02:23 +01:00
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
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
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
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