mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-03 17:54:31 +02:00
i3-companion: implement systemd notify
This commit is contained in:
parent
2f74d47a74
commit
358cf0629d
2 changed files with 3 additions and 1 deletions
|
@ -20,7 +20,7 @@ import types
|
|||
|
||||
import i3ipc
|
||||
from i3ipc.aio import Connection
|
||||
from systemd import journal
|
||||
from systemd import journal, daemon
|
||||
import ravel
|
||||
import dbussy
|
||||
import xcffib
|
||||
|
@ -1040,6 +1040,7 @@ async def main(options):
|
|||
if event is StartEvent:
|
||||
start_tasks.append(asyncio.create_task(fn(i3, event)))
|
||||
|
||||
daemon.notify("READY=1")
|
||||
await i3.main()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue