Run wipescreens on Screenchange event in python/wmiirc.

This commit is contained in:
Kris Maglione 2014-06-03 21:41:40 -07:00
parent 902328e77d
commit 7a083fffa2

View File

@ -103,6 +103,8 @@ events.bind({
'Notice': lambda args: notice.show(args), 'Notice': lambda args: notice.show(args),
'ScreenChange': lambda args: wmii.ctl('wipescreens'),
Match(('LeftBarClick', 'LeftBarDND'), 1): lambda e, b, tag: tags.select(tag), Match(('LeftBarClick', 'LeftBarDND'), 1): lambda e, b, tag: tags.select(tag),
Match('LeftBarClick', 4): lambda *a: tags.select(tags.next(True)), Match('LeftBarClick', 4): lambda *a: tags.select(tags.next(True)),
Match('LeftBarClick', 5): lambda *a: tags.select(tags.next()), Match('LeftBarClick', 5): lambda *a: tags.select(tags.next()),