mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-07 08:44:22 +02:00
i3-companion: also dampen a bit workspace renames
Just because I want to use this new function!
This commit is contained in:
parent
b6354b1256
commit
2781777842
1 changed files with 1 additions and 0 deletions
|
@ -195,6 +195,7 @@ async def notify(i3, **kwargs):
|
||||||
|
|
||||||
|
|
||||||
@on(StartEvent, I3Event.WINDOW_MOVE, I3Event.WINDOW_NEW, I3Event.WINDOW_CLOSE)
|
@on(StartEvent, I3Event.WINDOW_MOVE, I3Event.WINDOW_NEW, I3Event.WINDOW_CLOSE)
|
||||||
|
@dampen(0.2)
|
||||||
async def workspace_rename(i3, event):
|
async def workspace_rename(i3, event):
|
||||||
"""Rename workspaces using icons to match what's inside it."""
|
"""Rename workspaces using icons to match what's inside it."""
|
||||||
tree = await i3.get_tree()
|
tree = await i3.get_tree()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue