avoid the crash outside sway

This commit is contained in:
piotr
2021-02-02 02:49:16 +01:00
parent b0ded84bb4
commit 799c6db93d

View File

@@ -1,10 +1,10 @@
#!/usr/bin/env python3
from i3ipc import Connection
sway = False
i3 = Connection()
if sway:
from i3ipc import Connection
i3 = Connection()
ipc_data = None
outputs = {}