[modules/title] Python < 3.4 compatibility

Replace textwrap.shorten() with custom implementation, since it is only
available since Python 3.4. While at it, catch i3 exceptions in order to
make unit tests (hopefully) run through.

Also, Updated README.md

see #174
This commit is contained in:
Tobias Witek 2017-09-15 20:00:57 +02:00
parent 776824323b
commit ecbde508d2
3 changed files with 8 additions and 9 deletions

BIN
screenshots/title.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB