mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-03 23:04:21 +02:00
i3-companion: get it into 1000 lines!
This commit is contained in:
parent
b32462031b
commit
cc07dc35b4
1 changed files with 1 additions and 2 deletions
|
@ -327,8 +327,7 @@ async def workspace_exclusive(i3, event):
|
|||
with an exclusive app."""
|
||||
if event == "inhibit-exclusive":
|
||||
logger.debug("inhibit exclusive workspace")
|
||||
me = object()
|
||||
workspace_exclusive.inhibited_by = me
|
||||
workspace_exclusive.inhibited_by = me = object()
|
||||
await asyncio.sleep(1)
|
||||
if workspace_exclusive.inhibited_by is me:
|
||||
logger.info("cancel exclusive workspace inhibition")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue