i3-companion: also dampen a bit workspace renames

Just because I want to use this new function!
This commit is contained in:
Vincent Bernat 2021-07-13 00:31:26 +02:00
parent b6354b1256
commit 2781777842

View file

@ -195,6 +195,7 @@ async def notify(i3, **kwargs):
@on(StartEvent, I3Event.WINDOW_MOVE, I3Event.WINDOW_NEW, I3Event.WINDOW_CLOSE)
@dampen(0.2)
async def workspace_rename(i3, event):
"""Rename workspaces using icons to match what's inside it."""
tree = await i3.get_tree()