mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-04 07:14: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."""
|
with an exclusive app."""
|
||||||
if event == "inhibit-exclusive":
|
if event == "inhibit-exclusive":
|
||||||
logger.debug("inhibit exclusive workspace")
|
logger.debug("inhibit exclusive workspace")
|
||||||
me = object()
|
workspace_exclusive.inhibited_by = me = object()
|
||||||
workspace_exclusive.inhibited_by = me
|
|
||||||
await asyncio.sleep(1)
|
await asyncio.sleep(1)
|
||||||
if workspace_exclusive.inhibited_by is me:
|
if workspace_exclusive.inhibited_by is me:
|
||||||
logger.info("cancel exclusive workspace inhibition")
|
logger.info("cancel exclusive workspace inhibition")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue