mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-02 22:34:20 +02:00
i3-companion: add a proper comment to latest event function
This commit is contained in:
parent
bc8b7bf97b
commit
9c8012db81
1 changed files with 2 additions and 1 deletions
|
@ -1001,7 +1001,8 @@ async def network_manager_status(i3, event, *args):
|
|||
signature="b",
|
||||
),
|
||||
)
|
||||
async def on_sleep_resume(i3, event, path, sleeping):
|
||||
async def on_resume(i3, event, path, sleeping):
|
||||
"""Switch monitor on when resuming from sleep."""
|
||||
if not sleeping:
|
||||
logger.info("resume from sleep")
|
||||
dpms = i3.x11(xcffib.dpms.key)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue