yiuin/i3-wm-scripts — pull request #3 by eeemsi (2012-04-30 16:11:56+00:00)
Title: moved p1.stdout.close() to its own function and modified the print condition

p1.close.stdout was called in 2 different places - why not putting that into one function?
also implemented a way to avoid prints if the script is called using -O